CVE-2022-37434: Out-of-bounds Write
(updated )
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
- www.openwall.com/lists/oss-security/2022/08/05/2
- www.openwall.com/lists/oss-security/2022/08/09/1
- github.com/curl/curl/issues/9271
- github.com/ivd38/zlib_overflow
- github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h
- github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
- github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c
- nvd.nist.gov/vuln/detail/CVE-2022-37434
Code Behaviors & Features
Detect and mitigate CVE-2022-37434 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →