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 ETYPEOK off-by-one array size check affecting the asn1encodesimpleder 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).

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

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