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

EcosystemPackageFixed inAdvisory
AlmaLinux:8libtasn14.13-4.el8_7ALSA-2023:0116
AlmaLinux:9libtasn14.16.0-8.el9_1ALSA-2023:0343
AlmaLinux:8libtasn1-devel4.13-4.el8_7ALSA-2023:0116
AlmaLinux:9libtasn1-devel4.16.0-8.el9_1ALSA-2023:0343
AlmaLinux:8libtasn1-tools4.13-4.el8_7ALSA-2023:0116
AlmaLinux:9libtasn1-tools4.16.0-8.el9_1ALSA-2023:0343
Alpine:v3.20libtasn14.19-r0ALPINE-CVE-2021-46848
Alpine:v3.21libtasn14.19-r0ALPINE-CVE-2021-46848
Alpine:v3.22libtasn14.19-r0ALPINE-CVE-2021-46848
Alpine:v3.23libtasn14.19-r0ALPINE-CVE-2021-46848
Alpine:v3.24libtasn14.19-r0ALPINE-CVE-2021-46848
Debian:12libtasn1-64.19.0-2DEBIAN-CVE-2021-46848
Debian:13libtasn1-64.19.0-2DEBIAN-CVE-2021-46848
Debian:14libtasn1-64.19.0-2DEBIAN-CVE-2021-46848
Rocky Linux:8libtasn10:4.13-4.el8_7RLSA-2023:0116
Rocky Linux:9libtasn10:4.16.0-8.el9_1RLSA-2023:0343
Ubuntu:22.04:LTSlibtasn1-64.18.0-4ubuntu0.2UBUNTU-CVE-2021-46848
Ubuntu:22.04:LTSlibtasn1-64.18.0-4ubuntu0.2USN-7954-1
Ubuntu:24.04:LTSlibtasn1-64.19.0-3ubuntu0.24.04.2USN-7954-1
Ubuntu:25.10libtasn1-64.20.0-2ubuntu0.25.10.1USN-7954-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-193 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References