CVE-2022-37434CWE-120CWE-787

CVE-2022-37434

Critical · published August 5, 2022

CVSS v3.1
9.8
EPSS
19%
Percentile
97.3
In the wild
Unconfirmed
What it is

🔥 A heap-based buffer over-read in zlib could mean a memory mishap that opens the door for chaos, but only if your app calls `inflateGetHeader`! Think of it like a cooking recipe that suddenly asks for an ingredient you don’t have—without the proper checks, your kitchen could overflow into a culinary disaster! An attacker exploiting this could read sensitive memory or even crash the application, leading to potentially devastating downtime and data exposure. With a CVSS score of 9.8, this isn't just a small issue; it could bring critical operations to a halt! ⚠️

Put simply

Think of it like a cooking recipe that suddenly asks for an ingredient you don’t have—without the proper checks, your kitchen could overflow into a culinary disaster! The vulnerability exists due to improper handling of large gzip header extra fields in zlib 1.2.12's `inflate.c`, specifically when applications invoke `inflateGetHeader`. This flaw can lead to a buffer over-read or overflow during the inflation process.

What to do

An attacker exploiting this could read sensitive memory or even crash the application, leading to potentially devastating downtime and data exposure. With a CVSS score of 9.8, this isn't just a small issue; it could bring critical operations to a halt! ⚠️ To protect your applications, make sure to update zlib to the latest version that patches this vulnerability. Additionally, review any applications that bundle zlib, especially those that interact with gzip headers, and ensure they are capable of safely handling input. 🛡️ You've got this! Fixing this vulnerability means you're one step closer to a more secure environment! 🚀

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.19243 · 97.3th percentile
Weaknesses
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); CWE-787 · Out-of-bounds Write
Published
2022-08-05T11:15Z
Affected products (27)
ProductVersionsFixed in
zlib/zlib≤ 1.2.12—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
debian/debian_linuxall versions—
netapp/active_iq_unified_managerall versions—
netapp/active_iq_unified_managerall versions—
netapp/hciall versions—
netapp/management_services_for_element_softwareall versions—
netapp/oncommand_workflow_automationall versions—
netapp/ontap_select_deploy_administration_utilityall versions—
netapp/storagegridall versions—
netapp/hci_compute_nodeall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h700s_firmwareall versions—
apple/ipados< 15.7.115.7.1
apple/iphone_os< 15.7.115.7.1
apple/iphone_os≥ 16.0, < 16.116.1
apple/macos≥ 11.0, < 11.7.111.7.1
apple/macos≥ 12.0.0, < 12.6.112.6.1
apple/watchos< 9.19.1
stormshield/stormshield_network_security≥ 3.7.31, < 3.7.343.7.34
stormshield/stormshield_network_security≥ 3.11.0, < 3.11.223.11.22
stormshield/stormshield_network_security≥ 4.3.0, < 4.3.164.3.16
stormshield/stormshield_network_security≥ 4.6.0, < 4.6.34.6.3
References (59)
https://cert-portal.siemens.com/productcert/html/ssa-150063.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-202008.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-470355.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-561322.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://github.com/curl/curl/issues/9271 · 134c704f-9b21-4f2e-91b3-4a467353bcc0http://seclists.org/fulldisclosure/2022/Oct/37 · [email protected]http://seclists.org/fulldisclosure/2022/Oct/38 · [email protected]http://seclists.org/fulldisclosure/2022/Oct/41 · [email protected]http://seclists.org/fulldisclosure/2022/Oct/42 · [email protected]http://www.openwall.com/lists/oss-security/2022/08/05/2 · [email protected]http://www.openwall.com/lists/oss-security/2022/08/09/1 · [email protected]https://github.com/curl/curl/issues/9271 · [email protected]https://github.com/ivd38/zlib_overflow · [email protected]https://github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h#L1062-L1063 · [email protected]https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d · [email protected]https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1 · [email protected]https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c#L762-L764 · [email protected]https://lists.debian.org/debian-lts-announce/2022/09/msg00012.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWN4VE3JQR4O2SOUS5TXNLANRPMHWV4I/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PAVPQNCG3XRLCLNSQRM3KAN5ZFMVXVTY/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5U7OTKZSHY2I3ZFJSR2SHFHW72RKGDK/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/ · [email protected]https://security.netapp.com/advisory/ntap-20220901-0005/ · [email protected]https://security.netapp.com/advisory/ntap-20230427-0007/ · [email protected]https://support.apple.com/kb/HT213488 · [email protected]https://support.apple.com/kb/HT213489 · [email protected]https://support.apple.com/kb/HT213490 · [email protected]https://support.apple.com/kb/HT213491 · [email protected]https://support.apple.com/kb/HT213493 · [email protected]https://support.apple.com/kb/HT213494 · [email protected]https://www.debian.org/security/2022/dsa-5218 · [email protected]http://seclists.org/fulldisclosure/2022/Oct/37 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2022/Oct/38 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2022/Oct/41 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2022/Oct/42 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2022/08/05/2 · af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2022/08/09/1 · af854a3a-2127-422b-91ae-364da2661108https://github.com/curl/curl/issues/9271 · af854a3a-2127-422b-91ae-364da2661108https://github.com/ivd38/zlib_overflow · af854a3a-2127-422b-91ae-364da2661108https://github.com/madler/zlib/blob/21767c654d31d2dccdde4330529775c6c5fd5389/zlib.h#L1062-L1063 · af854a3a-2127-422b-91ae-364da2661108https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1 · af854a3a-2127-422b-91ae-364da2661108https://github.com/nodejs/node/blob/75b68c6e4db515f76df73af476eccf382bbcb00a/deps/zlib/inflate.c#L762-L764 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/09/msg00012.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWN4VE3JQR4O2SOUS5TXNLANRPMHWV4I/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PAVPQNCG3XRLCLNSQRM3KAN5ZFMVXVTY/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5U7OTKZSHY2I3ZFJSR2SHFHW72RKGDK/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/ · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20220901-0005/ · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20230427-0007/ · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213488 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213489 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213490 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213491 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213493 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213494 · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5218 · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 05 AUG 00:00Z
    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
    cvelistv5