Vulnerability · Published Oct 24, 2022 · Assigned by mitre
CVE-2021-46848
Critical 9.1
In plain English
A critical-severity security flaw in the libtasn1 package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)2.8%top 13.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libtasn1 | 4.13-4.el8_7 | ALSA-2023:0116 |
| AlmaLinux:9 | libtasn1 | 4.16.0-8.el9_1 | ALSA-2023:0343 |
| AlmaLinux:8 | libtasn1-devel | 4.13-4.el8_7 | ALSA-2023:0116 |
| AlmaLinux:9 | libtasn1-devel | 4.16.0-8.el9_1 | ALSA-2023:0343 |
| AlmaLinux:8 | libtasn1-tools | 4.13-4.el8_7 | ALSA-2023:0116 |
| AlmaLinux:9 | libtasn1-tools | 4.16.0-8.el9_1 | ALSA-2023:0343 |
| Alpine:v3.20 | libtasn1 | 4.19-r0 | ALPINE-CVE-2021-46848 |
| Alpine:v3.21 | libtasn1 | 4.19-r0 | ALPINE-CVE-2021-46848 |
| Alpine:v3.22 | libtasn1 | 4.19-r0 | ALPINE-CVE-2021-46848 |
| Alpine:v3.23 | libtasn1 | 4.19-r0 | ALPINE-CVE-2021-46848 |
| Alpine:v3.24 | libtasn1 | 4.19-r0 | ALPINE-CVE-2021-46848 |
| Debian:12 | libtasn1-6 | 4.19.0-2 | DEBIAN-CVE-2021-46848 |
| Debian:13 | libtasn1-6 | 4.19.0-2 | DEBIAN-CVE-2021-46848 |
| Debian:14 | libtasn1-6 | 4.19.0-2 | DEBIAN-CVE-2021-46848 |
| Rocky Linux:8 | libtasn1 | 0:4.13-4.el8_7 | RLSA-2023:0116 |
| Rocky Linux:9 | libtasn1 | 0:4.16.0-8.el9_1 | RLSA-2023:0343 |
| Ubuntu:22.04:LTS | libtasn1-6 | 4.18.0-4ubuntu0.2 | UBUNTU-CVE-2021-46848 |
| Ubuntu:22.04:LTS | libtasn1-6 | 4.18.0-4ubuntu0.2 | USN-7954-1 |
| Ubuntu:24.04:LTS | libtasn1-6 | 4.19.0-3ubuntu0.24.04.2 | USN-7954-1 |
| Ubuntu:25.10 | libtasn1-6 | 4.20.0-2ubuntu0.25.10.1 | USN-7954-1 |
Affected products (as reported)
Weakness: CWE-193 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://gitlab.com/gnutls/libtasn1/-/commit/44a700d2051a666235748970c2df047ff207aeb5
- https://gitlab.com/gnutls/libtasn1/-/issues/32
- https://bugs.gentoo.org/866237
- FEDORA-2022-061f857481 vendor-advisory
- FEDORA-2022-3c933ffaca vendor-advisory
- FEDORA-2022-19056934a7 vendor-advisory
- https://security.netapp.com/advisory/ntap-20221118-0006/
- FEDORA-2022-3f9ee1ad91 vendor-advisory
- [debian-lts-announce] 20230109 [SECURITY] [DLA 3263-1] libtasn1-6 security update mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html