CPython up to 2.7.11/3.4.4/3.5.1 zipimport.c get_data integer 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.
9.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in CPython up to 2.7.11/3.4.4/3.5.1. This affects the function get_data of the file zipimport.c. The manipulation with the input -1 results in integer overflow. This vulnerability is cataloged as CVE-2016-5636. The attack may be launched remotely. There is no exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as very critical has been found in CPython up to 2.7.11/3.4.4/3.5.1 (Programming Language Software). Affected is the function get_data of the file zipimport.c. The manipulation with the input value -1 leads to a integer overflow vulnerability. CWE is classifying the issue as CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 allows remote attackers to have unspecified impact via a negative data size value, which triggers a heap-based buffer overflow.

The weakness was shared 09/02/2016 (Website). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2016-5636 since 06/16/2016. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 09/14/2022).

The vulnerability scanner Nessus provides a plugin with the ID 92271 (Fedora 24 : python (2016-9932f852c7)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176661 (Debian Security Update for python3.4 (DLA 1663-1)).

Upgrading to version 2.7.12, 3.4.5 or 3.5.2 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (92271) and SecurityFocus (BID 91247†). The entries VDB-80763, VDB-88027, VDB-90422 and VDB-90620 are related to this item. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.6

VulDB Base Score: 9.8
VulDB Temp Score: 9.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: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
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: 92271
Nessus Name: Fedora 24 : python (2016-9932f852c7)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 863936
OpenVAS Name: Fedora Update for python FEDORA-2016-9932f852c7
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: CPython 2.7.12/3.4.5/3.5.2

Timelineinfo

06/15/2016 🔍
06/16/2016 +1 days 🔍
07/12/2016 +26 days 🔍
07/15/2016 +3 days 🔍
09/02/2016 +49 days 🔍
09/02/2016 +0 days 🔍
09/03/2016 +1 days 🔍
09/14/2022 +2202 days 🔍

Sourcesinfo

Advisory: RHSA-2016:2586
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-5636 (🔍)
GCVE (CVE): GCVE-0-2016-5636
GCVE (VulDB): GCVE-100-91044

OVAL: 🔍

SecurityFocus: 91247 - Python CVE-2016-5636 Heap Buffer Overflow Vulnerability
SecurityTracker: 1038138

See also: 🔍

Entryinfo

Created: 09/03/2016 10:14
Updated: 09/14/2022 15:41
Changes: 09/03/2016 10:14 (66), 04/07/2019 16:21 (14), 09/14/2022 15:41 (4)
Complete: 🔍
Cache ID: 216:14D: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!