Crypto++ 5.6.4 ASN.1 BER Decoder input validation

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

Summaryinfo

A vulnerability was found in Crypto++ 5.6.4. It has been classified as problematic. The affected element is an unknown function of the component ASN.1 BER Decoder. The manipulation leads to input validation. This vulnerability is documented as CVE-2016-9939. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in Crypto++ 5.6.4. This issue affects an unknown code block of the component ASN.1 BER Decoder. The manipulation with an unknown input leads to a input validation vulnerability. Using CWE to declare the problem leads to CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Impacted is availability. The summary by CVE is:

Crypto++ (aka cryptopp and libcrypto++) 5.6.4 contained a bug in its ASN.1 BER decoding routine. The library will allocate a memory block based on the length field of the ASN.1 object. If there is not enough content octets in the ASN.1 object, then the function will fail and the memory block will be zeroized even if its unused. There is a noticeable delay during the wipe for a large allocation.

The bug was discovered 12/12/2016. The weakness was released 01/30/2017 with Tresorit (Website). It is possible to read the advisory at debian.org. The identification of this vulnerability is CVE-2016-9939 since 12/12/2016. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. The technical details are unknown and an exploit is not publicly available.

The vulnerability was handled as a non-public zero-day exploit for at least 14 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 96105 (Debian DSA-3748-1 : libcrypto++ - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175924 (Debian Security Update for libcrypto++ (DSA 3748-1)).

Upgrading 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 (96105) and SecurityFocus (BID 94854†). Entry connected to this vulnerability is available at VDB-96307. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.3

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
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: 96105
Nessus Name: Debian DSA-3748-1 : libcrypto++ - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703748
OpenVAS Name: Debian Security Advisory DSA 3748-1 (libcrypto++ - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

12/12/2016 🔍
12/12/2016 +0 days 🔍
12/12/2016 +0 days 🔍
12/26/2016 +14 days 🔍
12/27/2016 +1 days 🔍
01/30/2017 +34 days 🔍
01/30/2017 +0 days 🔍
01/31/2017 +1 days 🔍
09/15/2024 +2784 days 🔍

Sourcesinfo

Advisory: FEDORA-2019-812b77ed2e
Organization: Tresorit
Status: Not defined

CVE: CVE-2016-9939 (🔍)
GCVE (CVE): GCVE-0-2016-9939
GCVE (VulDB): GCVE-100-96311

OVAL: 🔍

SecurityFocus: 94854 - Crypto++ CVE-2016-9939 Local Denial of Service Vulnerability
OSVDB: - CVE-2016-9939 - libcrypto++ - Denial of Service Issue

See also: 🔍

Entryinfo

Created: 01/31/2017 09:53
Updated: 09/15/2024 07:48
Changes: 01/31/2017 09:53 (70), 08/07/2020 16:50 (8), 11/11/2022 10:01 (4), 09/15/2024 07:48 (16)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!