CVE-2022-37434
zlib: heap-based buffer over-read and overflow in inflate() in inflate.c via a large gzip header extra field
Overview
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).
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787, CWE-120
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | zlib | <1.2.13 | 1.2.13 |
| Julia | GCCBootstrap_jll | >=0 | No fix yet |
| Julia | Openresty_jll | <1.27.1+0 | 1.27.1+0 |
| Julia | Zlib_jll | <1.2.13+0 | 1.2.13+0 |
Open a package to see all its vulnerabilities.
Operating systems · 85 fixes
Azure Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | teckit | 0:2.5.12-4.azl3 |
| 3.0 | cloud-hypervisor-cvm | 0:38.0.72.2-1.azl3 |
| 3.0 | crash | 0:8.0.4-2.azl3 |
Oracle Linux 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | minizip +4 | 1.2.7-21.el7_9 |
| 8 | zlib +2 | 1.2.11-19.el8_6 |
| 8 | rsync +1 | 3.1.3-19.el8 |
| 9 | zlib +2 | 1.2.11-32.el9_0 |
| 9 | rsync +1 | 3.2.3-18.el9 |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | zlib +1 | 1.2.11-4.ph4 |
| 5.0 | gdb +1 | 13.2-1.ph5 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | minizip +4 | 0:1.2.7-21.el7_9 | RHSA-2023:1095 |
| 8 | zlib +2 | 0:1.2.11-19.el8_6 | RHSA-2022:7106 |
| 8 | rsync +1 | 0:3.1.3-14.el8_6.5 | RHSA-2024:0254 |
| 8 | rsync +1 | 0:3.1.3-19.el8 | RHSA-2022:7793 |
| 9 | zlib +2 | 0:1.2.11-32.el9_0 | RHSA-2022:7314 |
| 9 | rsync +1 | 0:3.2.3-18.el9 | RHSA-2022:8291 |
SUSE Linux Enterprise 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libz1 +4 | 1.2.11-11.22.1 | SUSE-SU-2022:2847-1 |
| 15.4 | libminizip1 +6 | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
SUSE Linux Enterprise Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libz1 +1 | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
| 5.2 | libz1 | 1.2.11-150000.3.33.1 | SUSE-SU-2022:2947-1 |
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | rsync +1 | 3.1.3-19.el8 |
| 9 | zlib | 1.2.11-32.el9_0 |
| 9 | rsync +1 | 3.2.3-18.el9 |
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | zlib | 1.2.12-r2 |
| 3.22 | zlib-ng | 2.0.6-r0 |
| 3.23 | zlib | 1.2.12-r2 |
| 3.23 | zlib-ng | 2.0.6-r0 |
| 3.24 | zlib | 1.2.12-r2 |
| 3.24 | zlib-ng | 2.0.6-r0 |
2 more rows
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | minizip-compat +7 | 1.2.11-33.amzn2023.0.4 |
| 2023 | rsync +3 | 3.2.6-1.amzn2023.0.3 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| zlib | 1.2.13-r1 |
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | libz-mingw-w64 | affected |
| 10 | zlib | 1:1.2.11.dfsg-1+deb10u2 |
| 11 | libz-mingw-w64 | affected |
| 11 | zlib | 1:1.2.11.dfsg-2+deb11u2 |
| 12 | libz-mingw-w64 | 1.2.12+dfsg-2 |
| 12 | zlib | 1:1.2.11.dfsg-4.1 |
4 more rows
echo 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| zlib-1-1-4 | 1.1.4+e1 | |
| zlib-1-2-11 | 1.2.11+e1 | |
| libz-mingw-w64 | 1.2.12+dfsg-2 | |
| boost-1-69-0 | 1.69.0+e1 | |
| boost-1-75-0 | 1.75.0+e1 | |
| boost-1-84-0 | 1.84.0+e1 |
1 more row
openSUSE 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | rusty-v8 | 0.106.0-1.1 | openSUSE-SU-2024:14386-1 |
| Tumbleweed | libminizip1 +9 | 1.2.12-1.1 | openSUSE-SU-2024:12298-1 |
| Tumbleweed | libz-ng2 +1 | 2.0.7-1.1 | openSUSE-SU-2024:12843-1 |
| Tumbleweed | libvlc5 +10 | 3.0.19-1.1 | openSUSE-SU-2024:13367-1 |
| Tumbleweed | rsync | 3.2.5-1.1 | openSUSE-SU-2024:12270-1 |
| Tumbleweed | libqt5-qtbase-common-devel +77 | 5.15.6+kde177-1.1 | openSUSE-SU-2024:12367-1 |
openSUSE Leap Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | libz1 | 1.2.11-150000.3.33.1 | openSUSE-SU-2022:2947-1 |
rocky 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | zlib +1 | 1.2.11-19.el8_6 |
| 8 | rsync +1 | 3.1.3-19.el8 |
| 9 | zlib +1 | 1.2.11-32.el9_0 |
| 9 | rsync +1 | 3.2.3-18.el9 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-zlib | 1:1.2.11.dfsg-2+deb11u2 |
| 12 | rootio-zlib | 1:1.2.11.dfsg-4.1 |
| 13 | rootio-zlib | 1:1.2.11.dfsg-4.1 |
seal Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | seal-zlib +1 | 1.2.7-18.el7+sp999 |
| 7 | seal-zlib +1 | 1.2.7-21.el7_9+sp999 |
| 7 | rsync +1 | 3.1.2-12.el7_9+sp999 |
| 8 | seal-zlib +1 | 1.2.11-17.el8+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| seal-zlib +1 | 1:1.2.11.dfsg-2+deb11u2+sp999 |
ubuntu 6 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | zlib | 1:1.2.11.dfsg-0ubuntu2.2 |
| 18.04 | rsync | 3.1.2-2.1ubuntu1.5 |
| 18.04-ESM | zlib | 1:1.2.11.dfsg-0ubuntu2.2 |
| 18.04-ESM | klibc | 2.0.4-9ubuntu2.2+esm1 |
| 18.04-ESM | rsync | 3.1.2-2.1ubuntu1.5 |
| 20.04 | zlib | 1:1.2.11.dfsg-2ubuntu1.5 |
8 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| zlib | 1.2.13-r1 |
References
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/37
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/38
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/41
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/42
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/08/05/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/08/09/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:8291
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-37434
- bugzilla.redhat.com https://bugzilla.redhat.com/2116639
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2043753
Show all 49 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2116639
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-150063.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-202008.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-470355.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-561322.html
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-37434
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-8291.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:7793
- github.com https://github.com/curl/curl/issues/9271
- github.com https://github.com/ivd38/zlib_overflow
- github.com https://github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h#L1062-L1063
- github.com https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d
- github.com https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1
- github.com https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c#L762-L764
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-37434.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-1095.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/09/msg00012.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWN4VE3JQR4O2SOUS5TXNLANRPMHWV4I/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PAVPQNCG3XRLCLNSQRM3KAN5ZFMVXVTY/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5U7OTKZSHY2I3ZFJSR2SHFHW72RKGDK/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-37434
- security.netapp.com https://security.netapp.com/advisory/ntap-20220901-0005/
- security.netapp.com https://security.netapp.com/advisory/ntap-20230427-0007/
- support.apple.com https://support.apple.com/kb/HT213488
- support.apple.com https://support.apple.com/kb/HT213489
- support.apple.com https://support.apple.com/kb/HT213490
- support.apple.com https://support.apple.com/kb/HT213491
- support.apple.com https://support.apple.com/kb/HT213493
- support.apple.com https://support.apple.com/kb/HT213494
- ubuntu.com https://ubuntu.com/security/notices/USN-5570-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5570-2
- ubuntu.com https://ubuntu.com/security/notices/USN-5573-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6736-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6736-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-37434
- www.debian.org https://www.debian.org/security/2022/dsa-5218
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.