Out-of-Bounds Affecting musl package, versions [,1.1.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.63% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MUSL-2382086
  • published26 Jan 2022
  • disclosed19 Oct 2017
  • creditUnknown

Introduced: 19 Oct 2017

CVE-2017-15650  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade musl to version 1.1.7 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.

References

CVSS Base Scores

version 3.1