GNU Libtasn1 up to 4.18.x asn1_encode_simple_der out-of-bounds

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in GNU Libtasn1 up to 4.18.x. This issue affects the function asn1_encode_simple_der. Such manipulation leads to out-of-bounds.
This vulnerability is listed as CVE-2021-46848. The attack may be performed from remote. There is no available exploit.
You should upgrade the affected component.
Details
A vulnerability was found in GNU Libtasn1 up to 4.18.x and classified as problematic. Affected by this issue is the function asn1_encode_simple_der. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is availability. CVE summarizes:
GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.
The weakness was presented 10/24/2022 as 32. The advisory is available at gitlab.com. This vulnerability is handled as CVE-2021-46848 since 10/24/2022. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 211211 (Fedora 37 : mingw-libtasn1 (2022-19056934a7)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 4.19.0 eliminates this vulnerability. Applying the patch 44a700d2051a666235748970c2df047ff207aeb5 is able to eliminate this problem. The bugfix is ready for download at gitlab.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (211211). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 7.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
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: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211211
Nessus Name: Fedora 37 : mingw-libtasn1 (2022-19056934a7)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Libtasn1 4.19.0
Patch: 44a700d2051a666235748970c2df047ff207aeb5
Timeline
10/24/2022 🔍10/24/2022 🔍
10/24/2022 🔍
05/07/2025 🔍
Sources
Vendor: gnu.orgAdvisory: 32
Status: Confirmed
CVE: CVE-2021-46848 (🔍)
GCVE (CVE): GCVE-0-2021-46848
GCVE (VulDB): GCVE-100-212018
Entry
Created: 10/24/2022 19:49Updated: 05/07/2025 18:04
Changes: 10/24/2022 19:49 (52), 11/16/2024 17:52 (16), 05/07/2025 18:04 (1)
Complete: 🔍
Cache ID: 216:64F:103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.