GnuPG up to 2.0.19 Key Processing pubring.gpg read_block Malformed Key input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.6 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in GnuPG. This affects the function read_block of the file pubring.gpg of the component Key Processing. Executing a manipulation as part of Malformed Key can lead to input validation.
This vulnerability is registered as CVE-2012-6085. It is possible to launch the attack remotely. No exploit is available.
You should upgrade the affected component.
Details
A vulnerability has been found in GnuPG and classified as problematic. This vulnerability affects the function read_block of the file pubring.gpg of the component Key Processing. The manipulation as part of a Malformed Key leads to a input validation vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect availability. CVE summarizes:
The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, allows remote attackers to corrupt the public keyring database or cause a denial of service (application crash) via a crafted length field of an OpenPGP packet.
The weakness was published 12/28/2012 by KB Sriram as GnuPG 1.4.12 and lower - memory access errors and keyring database corruption as confirmed mailinglist post (Bugtraq). The advisory is shared for download at seclists.org. The public release happened without coordination with the vendor. This vulnerability was named CVE-2012-6085 since 12/06/2012. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 70601 (RHEL 5 : gnupg (RHSA-2013:1458)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 390142 (Oracle VM Server for x86 Security Update for gnupg2 (OVMSA-2018-0239)).
Upgrading to version 1.4.13 eliminates this vulnerability. The upgrade is hosted for download at gnupg.org. The problem might be mitigated by replacing the product with PGP as an alternative. The best possible mitigation is suggested to be upgrading to the latest version. 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 X-Force (80990), Tenable (70601), SecurityFocus (BID 57102†), OSVDB (88866†) and Vulnerability Center (SBV-38160†). Additional details are provided at seclists.org. Similar entries are available at VDB-7239 and VDB-10308. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
- 1.4.0
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.8
- 1.4.10
- 1.4.11
- 1.4.12
- 2.0
- 2.0.1
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.10
- 2.0.11
- 2.0.12
- 2.0.13
- 2.0.14
- 2.0.15
- 2.0.16
- 2.0.17
- 2.0.18
- 2.0.19
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.6
VulDB Base Score: 5.3
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 70601
Nessus Name: RHEL 5 : gnupg (RHSA-2013:1458)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 892601
OpenVAS Name: Debian Security Advisory DSA 2601-1 (gnupg, gnupg2 - missing input sanitation
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: GnuPG 1.4.13
Alternative: PGP
Timeline
12/06/2012 🔍12/20/2012 🔍
12/28/2012 🔍
01/02/2013 🔍
01/02/2013 🔍
01/05/2013 🔍
01/23/2013 🔍
01/24/2013 🔍
10/25/2013 🔍
04/20/2021 🔍
Sources
Advisory: GnuPG 1.4.12 and lower - memory access errors and keyring database corruptionResearcher: KB Sriram
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2012-6085 (🔍)
GCVE (CVE): GCVE-0-2012-6085
GCVE (VulDB): GCVE-100-7240
OVAL: 🔍
X-Force: 80990 - GnuPG public keys code execution, High Risk
SecurityFocus: 57102 - GnuPG CVE-2012-6085 Multiple Remote Memory Corruption Vulnerabilities
OSVDB: 88866
Vulnerability Center: 38160 - GnuPG 1.4.x and 2.0.x Remote Code Execution Vulnerability via a Crafted OpenPGP Packet, Medium
Misc.: 🔍
See also: 🔍
Entry
Created: 01/05/2013 14:11Updated: 04/20/2021 14:45
Changes: 01/05/2013 14:11 (55), 08/09/2019 15:35 (35), 04/20/2021 14:45 (3)
Complete: 🔍
Cache ID: 216:E33:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.