Out-of-Bounds Affecting zlib-debugsource package, versions <0:1.2.11-33.amzn2022.0.3


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
18.97% (98th 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-AMZN2022-ZLIBDEBUGSOURCE-3164551
  • published8 Dec 2022
  • disclosed5 Aug 2022

Introduced: 5 Aug 2022

CVE-2022-37434  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 zlib-debugsource to version 0:1.2.11-33.amzn2022.0.3 or higher.
This issue was patched in ALAS2022-2022-252.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zlib-debugsource package and not the zlib-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 relevant fixed versions and status.

zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).

References

CVSS Base Scores

version 3.1