CVE-2022-37434

Name
CVE-2022-37434
Description
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).
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c#L762-L764
MISC https://github.com/ivd38/zlib_overflow
MISC https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
MISC https://github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h#L1062-L1063
MLIST http://www.openwall.com/lists/oss-security/2022/08/05/2
MISC https://github.com/curl/curl/issues/9271
MLIST http://www.openwall.com/lists/oss-security/2022/08/09/1

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:* zlib >= None <= 1.2.12

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
zlib edge-main 1.2.12-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
zlib 3.16-main 1.2.12-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
zlib 3.15-main 1.2.12-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
zlib 3.14-main 1.2.12-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
zlib 3.13-main 1.2.12-r3 Natanael Copa <ncopa@alpinelinux.org> fixed