Python 2.2/2.2.1 IPv6 getaddrinfo 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.
7.0$0-$5k0.00

A vulnerability classified as critical was found in Python 2.2/2.2.1 (Programming Language Software). Affected by this vulnerability is the function getaddrinfo of the component IPv6 Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in the getaddrinfo function in Python 2.2 before 2.2.2, when IPv6 support is disabled, allows remote attackers to execute arbitrary code via an IPv6 address that is obtained using DNS.

The bug was discovered 03/09/2004. The weakness was presented 03/10/2004 by Sebastian Krahmer (Website). It is possible to read the advisory at debian.org. This vulnerability is known as CVE-2004-0150. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 14119 (Mandrake Linux Security Advisory : python (MDKSA-2004:019)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks.

Upgrading to version 2.2.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (15409) and Tenable (14119).

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
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
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 14119
Nessus Name: Mandrake Linux Security Advisory : python (MDKSA-2004:019)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 53156
OpenVAS Name: Debian Security Advisory DSA 458-1 (python2.2)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Python 2.2.2

Timelineinfo

03/09/2004 🔍
03/09/2004 +0 days 🔍
03/10/2004 +1 days 🔍
03/10/2004 +0 days 🔍
03/10/2004 +0 days 🔍
03/10/2004 +0 days 🔍
04/15/2004 +35 days 🔍
07/31/2004 +107 days 🔍
07/21/2009 +1816 days 🔍
10/16/2014 +1913 days 🔍
06/29/2021 +2448 days 🔍

Sourcesinfo

Advisory: debian.org
Researcher: Sebastian Krahmer
Status: Not defined

CVE: CVE-2004-0150 (🔍)
X-Force: 15409
Vulnerability Center: 22930 - Python < 2.2.2 IPv6 Address Using DNS Remote Arbitrary Code Execution Vulnerability, High
SecurityFocus: 9836 - Python getaddrinfo Function Remote Buffer Overflow Vulnerability
Secunia: 11080 - Python DNS Response Buffer Overflow Vulnerability, Moderately Critical
OSVDB: 4172 - Python IPv6 DNS Address Response Handling Overflow

Entryinfo

Created: 10/16/2014 11:16
Updated: 06/29/2021 16:08
Changes: 10/16/2014 11:16 (67), 02/12/2017 12:46 (12), 06/29/2021 16:08 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!