CVE-2021-46848
Summary
| CVE | CVE-2021-46848 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-10-24 14:15:49 UTC |
| Updated | 2026-10-14 13:17:13 UTC |
| Description | GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Problem Types: CWE-193 | n/a | CWE-193 CWE-193 Off-by-one Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | ADP | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 35 | All | All | All |
| Operating System | Fedoraproject | Fedora | 36 | All | All | All |
| Operating System | Fedoraproject | Fedora | 37 | All | All | All |
| Application | Gnu | Libtasn1 | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | N/a | affected n/a | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Out-of-bound access in ETYPE_OK (#32) · Issues · gnutls / libtasn1 · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.com | Exploit, Issue Tracking, Third Party Advisory |
| [SECURITY] Fedora 35 Update: mingw-libtasn1-4.19.0-1.fc35 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| CVE-2021-46848 GNU Libtasn1 Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| [SECURITY] Fedora 36 Update: libtasn1-4.19.0-1.fc36 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| 866237 – <dev-libs/libtasn1-4.19.0: Out of bounds read | af854a3a-2127-422b-91ae-364da2661108 | bugs.gentoo.org | Issue Tracking, Patch, Third Party Advisory |
| Fix ETYPE_OK off by one array size check. Closes: #32. (44a700d2) · Commits · gnutls / libtasn1 · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.com | Patch, Third Party Advisory |
| [SECURITY] [DLA 3263-1] libtasn1-6 security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 36 Update: mingw-libtasn1-4.19.0-1.fc36 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 37 Update: mingw-libtasn1-4.19.0-1.fc37 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 35 Update: mingw-libtasn1-4.19.0-1.fc35 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 37 Update: mingw-libtasn1-4.19.0-1.fc37 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 36 Update: mingw-libtasn1-4.19.0-1.fc36 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 36 Update: libtasn1-4.19.0-1.fc36 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160387 Oracle Enterprise Linux Security Update for libtasn1 (ELSA-2023-0116)
- 160428 Oracle Enterprise Linux Security Update for libtasn1 (ELSA-2023-0343)
- 181375 Debian Security Update for libtasn1-6 (CVE-2021-46848)
- 181462 Debian Security Update for libtasn1-6 (DLA 3263-1)
- 241050 Red Hat Update for libtasn1 (RHSA-2023:0116)
- 241100 Red Hat Update for libtasn1 (RHSA-2023:0343)
- 242850 Red Hat Update for libtasn1 (RHSA-2024:0427)
- 283307 Fedora Security Update for mingw (FEDORA-2022-061f857481)
- 283308 Fedora Security Update for mingw (FEDORA-2022-3c933ffaca)
- 283435 Fedora Security Update for mingw (FEDORA-2022-19056934a7)
- 283533 Fedora Security Update for libtasn1 (FEDORA-2022-3f9ee1ad91)
- 354659 Amazon Linux Security Advisory for libtasn1 : ALAS2-2023-1908
- 355413 Amazon Linux Security Advisory for libtasn1 : ALAS2023-2023-201
- 377957 Alibaba Cloud Linux Security Update for libtasn1 (ALINUX3-SA-2023:0014)
- 502610 Alpine Linux Security Update for libtasn1
- 502611 Alpine Linux Security Update for libtasn1
- 502738 Alpine Linux Security Update for libtasn1
- 505630 Alpine Linux Security Update for libtasn1
- 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
- 672511 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1038)
- 672517 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1013)
- 672538 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1103)
- 672541 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1127)
- 672606 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1325)
- 672647 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1390)
- 672669 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-1362)
- 673089 EulerOS Security Update for libtasn1 (EulerOS-SA-2023-2156)
- 752729 SUSE Enterprise Linux Security Update for libtasn1 (SUSE-SU-2022:3784-1)
- 752747 SUSE Enterprise Linux Security Update for libtasn1 (SUSE-SU-2022:3817-1)
- 904344 Common Base Linux Mariner (CBL-Mariner) Security Update for libtasn1 (11333)
- 904350 Common Base Linux Mariner (CBL-Mariner) Security Update for libtasn1 (11318)
- 904364 Common Base Linux Mariner (CBL-Mariner) Security Update for libtasn1 (11318-1)
- 904389 Common Base Linux Mariner (CBL-Mariner) Security Update for libtasn1 (11333-1)
- 904941 Common Base Linux Mariner (CBL-Mariner) Security Update for gnutls (12341)
- 905176 Common Base Linux Mariner (CBL-Mariner) Security Update for gnutls (12489)
- 940876 AlmaLinux Security Update for libtasn1 (ALSA-2023:0116)
- 940895 AlmaLinux Security Update for libtasn1 (ALSA-2023:0343)
- 960519 Rocky Linux Security Update for libtasn1 (RLSA-2023:0116)
- 960629 Rocky Linux Security Update for libtasn1 (RLSA-2023:0343)