zlib up to 1.2.12 Header inflate.c inflateGetHeader heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in zlib up to 1.2.12. This issue affects the function inflateGetHeader of the file inflate.c of the component Header Handler. Executing a manipulation can lead to heap-based overflow. This vulnerability is registered as CVE-2022-37434. It is possible to launch the attack remotely. No exploit is available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability classified as critical was found in zlib up to 1.2.12. This vulnerability affects the function inflateGetHeader of the file inflate.c of the component Header Handler. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

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).

The weakness was published 08/05/2022. The advisory is shared for download at github.com. This vulnerability was named CVE-2022-37434 since 08/05/2022. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 215940 (Azure Linux 3.0 Security Update: cloud-hypervisor-cvm / crash / zlib (CVE-2022-37434)), which helps to determine the existence of the flaw in a target environment.

Applying the patch eff308af425b67093bab25f80f1ae950166bece1 is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the vulnerability database at Tenable (215940). Once again VulDB remains the best source for vulnerability data.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.7
VulDB Meta Temp Score: 7.6

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 215940
Nessus Name: Azure Linux 3.0 Security Update: cloud-hypervisor-cvm / crash / zlib (CVE-2022-37434)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: eff308af425b67093bab25f80f1ae950166bece1

Timelineinfo

08/05/2022 🔍
08/05/2022 +0 days 🔍
08/05/2022 +0 days 🔍
05/02/2025 +1001 days 🔍

Sourcesinfo

Advisory: eff308af425b67093bab25f80f1ae950166bece1
Status: Confirmed

CVE: CVE-2022-37434 (🔍)
GCVE (CVE): GCVE-0-2022-37434
GCVE (VulDB): GCVE-100-205660

Entryinfo

Created: 08/05/2022 12:51
Updated: 05/02/2025 21:01
Changes: 08/05/2022 12:51 (42), 08/30/2022 14:58 (1), 08/30/2022 15:00 (12), 02/11/2025 06:32 (16), 05/02/2025 21:01 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!