gzip 1.3.5 unpack.c build_tree memory corruption

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in gzip 1.3.5. This issue affects the function build_tree of the file unpack.c. Performing a manipulation results in memory corruption. This vulnerability is known as CVE-2006-4336. No exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical has been found in gzip 1.3.5. This affects the function build_tree of the file unpack.c. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.

The bug was discovered 09/19/2006. The weakness was published 09/19/2006 by Tavis Ormandy as confirmed advisory (CERT.org). It is possible to read the advisory at kb.cert.org. This vulnerability is uniquely identified as CVE-2006-4336 since 08/24/2006. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 22422 (CentOS 3 / 4 : gzip (CESA-2006:0667)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 185008 (HP-UX Update for Software Distributor Package Remote Denial of Service Vulnerability (HPSBUX02195)).

Upgrading eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 11785.

The vulnerability is also documented in the databases at X-Force (29042), Tenable (22422), SecurityFocus (BID 20101†), OSVDB (29006†) and Secunia (SA21996†). Similar entries are available at VDB-32357, VDB-32356, VDB-32354 and VDB-32353. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 22422
Nessus Name: CentOS 3 / 4 : gzip (CESA-2006:0667)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 57385
OpenVAS Name: Slackware Advisory SSA:2006-262-01 gzip
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Timelineinfo

08/24/2006 🔍
09/19/2006 +26 days 🔍
09/19/2006 +0 days 🔍
09/19/2006 +0 days 🔍
09/19/2006 +0 days 🔍
09/19/2006 +0 days 🔍
09/19/2006 +0 days 🔍
09/19/2006 +0 days 🔍
09/20/2006 +1 days 🔍
09/22/2006 +2 days 🔍
09/25/2006 +3 days 🔍
03/12/2015 +3090 days 🔍
01/13/2025 +3595 days 🔍

Sourcesinfo

Advisory: kb.cert.org
Researcher: Tavis Ormandy
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-4336 (🔍)
GCVE (CVE): GCVE-0-2006-4336
GCVE (VulDB): GCVE-100-32355

OVAL: 🔍

CERT: 🔍
X-Force: 29042
SecurityFocus: 20101 - GNU GZip Archive Handling Multiple Remote Vulnerabilities
Secunia: 21996 - gzip Multiple Vulnerabilities, Moderately Critical
OSVDB: 29006 - CVE-2006-4336 - Gzip - Buffer Underflow Issue
SecurityTracker: 1016883
Vulnerability Center: 12768 - gzip 1.3.5 build_tree Remote User-Assisted Code Execution via a Crafted Leaf Count Table, Medium
Vupen: ADV-2006-3695

See also: 🔍

Entryinfo

Created: 03/12/2015 15:51
Updated: 01/13/2025 10:57
Changes: 03/12/2015 15:51 (78), 07/08/2019 17:52 (13), 01/13/2025 10:57 (17)
Complete: 🔍
Cache ID: 216:C95:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!