CVE-2021-46848 Integer overflow in n/a
An off-by-one error in GNU Libtasn1 allows attackers to cause denial of service or potentially execute code via crafted ASN.1 data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-46848?
CVE-2021-46848 is a critical vulnerability in Debian Debian Linux, published on 24 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.
Weakness: CWE-193
Which versions are affected by CVE-2021-46848?
It affects 3 products.
Linux distribution packages (40)
libtasn1 AlmaLinux:8 | All versions | 4.13-4.el8_7 |
libtasn1-devel AlmaLinux:8 | All versions | 4.13-4.el8_7 |
libtasn1-tools AlmaLinux:8 | All versions | 4.13-4.el8_7 |
libtasn1 AlmaLinux:9 | All versions | 4.16.0-8.el9_1 |
libtasn1-devel AlmaLinux:9 | All versions | 4.16.0-8.el9_1 |
libtasn1-tools AlmaLinux:9 | All versions | 4.16.0-8.el9_1 |
libtasn1-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:4.13-4.el8_7 |
libtasn1-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:4.13-4.el8_7 |
libtasn1-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:4.13-4.el8_7 |
libtasn1-tools Red Hat:enterprise_linux:8::appstream | All versions | 0:4.13-4.el8_7 |
libtasn1-tools-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:4.13-4.el8_7 |
libtasn1 Red Hat:enterprise_linux:8::baseos | All versions | 0:4.13-4.el8_7 |
libtasn1-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.13-4.el8_7 |
libtasn1-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:4.13-4.el8_7 |
libtasn1-tools-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.13-4.el8_7 |
libtasn1-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:4.16.0-8.el9_1 |
libtasn1-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:4.16.0-8.el9_1 |
libtasn1-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:4.16.0-8.el9_1 |
libtasn1-tools Red Hat:enterprise_linux:9::appstream | All versions | 0:4.16.0-8.el9_1 |
libtasn1-tools-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:4.16.0-8.el9_1 |
libtasn1 Red Hat:enterprise_linux:9::baseos | All versions | 0:4.16.0-8.el9_1 |
libtasn1-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:4.16.0-8.el9_1 |
libtasn1-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:4.16.0-8.el9_1 |
libtasn1-tools-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:4.16.0-8.el9_1 |
libtasn1-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:4.13-3.el8_6.1 |
libtasn1-debugsource Red Hat:rhel_eus:8.6::appstream | All versions | 0:4.13-3.el8_6.1 |
libtasn1-devel Red Hat:rhel_eus:8.6::appstream | All versions | 0:4.13-3.el8_6.1 |
libtasn1-tools Red Hat:rhel_eus:8.6::appstream | All versions | 0:4.13-3.el8_6.1 |
libtasn1-tools-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:4.13-3.el8_6.1 |
libtasn1 Red Hat:rhel_eus:8.6::baseos | All versions | 0:4.13-3.el8_6.1 |
libtasn1-debuginfo Red Hat:rhel_eus:8.6::baseos | All versions | 0:4.13-3.el8_6.1 |
libtasn1-debugsource Red Hat:rhel_eus:8.6::baseos | All versions | 0:4.13-3.el8_6.1 |
libtasn1-tools-debuginfo Red Hat:rhel_eus:8.6::baseos | All versions | 0:4.13-3.el8_6.1 |
libtasn1 Rocky Linux:8 | All versions | 0:4.13-4.el8_7 |
libtasn1 Rocky Linux:9 | All versions | 0:4.16.0-8.el9_1 |
libtasn1 SUSE:Enterprise Storage 6 | All versions | 4.13-150000.4.8.1 |
libtasn1 SUSE:Enterprise Storage 7 | All versions | 4.13-150000.4.8.1 |
libtasn1 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 4.13-150000.4.8.1 |
libtasn1 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 4.13-150000.4.8.1 |
libtasn1 SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | All versions | 4.13-150000.4.8.1 |
Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Libtasn1.
How do I fix CVE-2021-46848?
Upgrade to a fixed version.
Is CVE-2021-46848 being exploited?
There is no known exploitation of CVE-2021-46848 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2021-46848, ALSA-2023:0116, ALSA-2023:0343, AZL-11318, CLSA-2023-1695406987, CLSA-2025-1746653404 and 20 more.