CVE-2021-46848
NixOS vulnerability analysis and mitigation

Overview

GNU Libtasn1 before version 4.19.0 contains a vulnerability identified as CVE-2021-46848, which involves an ETYPE_OK off-by-one array size check affecting the asn1_encode_simple_der function. The vulnerability was discovered in October 2022 and affects various Linux distributions and systems using the GNU Libtasn1 library (NVD, NetApp Advisory).

Technical details

The vulnerability is classified as an off-by-one error (CWE-193) in the ETYPE_OK array size check. It has received a CVSS v3.1 base score of 9.1 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H, indicating network accessibility, low attack complexity, and no required privileges or user interaction (NVD).

Impact

The successful exploitation of this vulnerability could lead to disclosure of sensitive information or result in a Denial of Service (DoS) condition. The vulnerability enables access to one additional memory byte, which somewhat constrains the potential damage an attacker could inflict (NetApp Advisory).

Exploitability

The vulnerability is accessible over the network and requires low attack complexity with no authentication. It involves an out-of-bounds read in the API when using invalid values, though it is noted as not likely to be exploitable in any significant way (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in GNU Libtasn1 version 4.19.0. Various distributions have released security updates to address this issue, including Debian, Fedora, and Ubuntu. Users are advised to upgrade their libtasn1 packages to the latest version (Debian LTS, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18713HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18669HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18235HIGH8.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-17420MEDIUM6.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18250MEDIUM5
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management