CVE-2021-46848
JSON

9.1critical

GNU Libtasn1 before 4.19.0 has an ETYPEOK off-by-one array size check that affects asn1encodesimpleder.

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
2.84% (higher than 87% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
gnu libtasn1before 4.19.0NVD
fedoraproject fedora35, 36, 37NVD
debian debian_linux10.0NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-193

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.

NVD (es)

GNU Libtasn1 versiones anteriores a 4.19.0, presenta una comprobación de tamaño de matriz ETYPE_OK fuera de lugar que afecta a la función asn1_encode_simple_der

References

https://gitlab.com/gnutls/libtasn1/-/commit/44a700d2051a666235748970c2df047ff207aeb5patch, third-party-advisory
https://gitlab.com/gnutls/libtasn1/-/issues/32exploit, issue-tracking, third-party-advisory
https://bugs.gentoo.org/866237issue-tracking, patch, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGO7XST4EIJGX4B2ITZCYSWM24534BSU/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV4SHDJF2XLB4CUPTBPQQ6CLGZ5LKXPZ/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V5LWOGF7QRMNFRUCZY6TDYQJVFI6MOQ2/vendor-advisory
https://security.netapp.com/advisory/ntap-20221118-0006/third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECM2ELTVRYV4BZ5L5GMIRQE27RFHPAQ6/vendor-advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00003.htmlmailing-list, third-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Sources

SourceRecordLicence
CVE ListCVE-2021-46848 changed 2026-10-14CVE Terms of Use
NVDCVE-2021-46848 changed 2026-10-14Public domain