Libgcrypt up to 1.9.0 cipher/hash-common.c _gcry_md_block_write heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Libgcrypt up to 1.9.0. This issue affects the function _gcry_md_block_write of the file cipher/hash-common.c. Such manipulation leads to heap-based overflow.
This vulnerability is referenced as CVE-2021-3345. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability was found in Libgcrypt up to 1.9.0. It has been rated as critical. Affected by this issue is the function _gcry_md_block_write of the file cipher/hash-common.c. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability.
The weakness was published 01/30/2021. The advisory is shared for download at bugs.gentoo.org. This vulnerability is handled as CVE-2021-3345. There are known technical details, but no exploit is available.
Upgrading to version 1.9.1 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.gnupg.org. The best possible mitigation is suggested to be upgrading to the latest version.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.5
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
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: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Libgcrypt 1.9.1
Patch: git.gnupg.org
Timeline
01/29/2021 🔍01/30/2021 🔍
01/30/2021 🔍
02/21/2021 🔍
Sources
Advisory: bugs.gentoo.orgStatus: Confirmed
CVE: CVE-2021-3345 (🔍)
GCVE (CVE): GCVE-0-2021-3345
GCVE (VulDB): GCVE-100-168920
Entry
Created: 01/30/2021 10:56Updated: 02/21/2021 18:03
Changes: 01/30/2021 10:56 (39), 02/21/2021 17:58 (5), 02/21/2021 18:03 (18)
Complete: 🔍
Cache ID: 216::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.