Off-by-one Error Affecting libtasn1-tools package, versions <0:4.16.0-8.el9_1
Snyk CVSS
Attack Complexity
High
Availability
High
Threat Intelligence
EPSS
0.37% (73rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL9-LIBTASN1TOOLS-3104651
- published 4 Nov 2022
- disclosed 24 Oct 2022
How to fix?
Upgrade RHEL:9
libtasn1-tools
to version 0:4.16.0-8.el9_1 or higher.
This issue was patched in RHSA-2023:0343
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libtasn1-tools
package and not the libtasn1-tools
package as distributed by RHEL
.
See How to fix?
for RHEL:9
relevant fixed versions and status.
GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.
References
- https://access.redhat.com/security/cve/CVE-2021-46848
- https://access.redhat.com/errata/RHSA-2023:0343
- https://gitlab.com/gnutls/libtasn1/-/issues/32
- https://bugs.gentoo.org/866237
- https://gitlab.com/gnutls/libtasn1/-/commit/44a700d2051a666235748970c2df047ff207aeb5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV4SHDJF2XLB4CUPTBPQQ6CLGZ5LKXPZ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGO7XST4EIJGX4B2ITZCYSWM24534BSU/
- https://security.netapp.com/advisory/ntap-20221118-0006/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V5LWOGF7QRMNFRUCZY6TDYQJVFI6MOQ2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ECM2ELTVRYV4BZ5L5GMIRQE27RFHPAQ6/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00003.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV4SHDJF2XLB4CUPTBPQQ6CLGZ5LKXPZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECM2ELTVRYV4BZ5L5GMIRQE27RFHPAQ6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGO7XST4EIJGX4B2ITZCYSWM24534BSU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V5LWOGF7QRMNFRUCZY6TDYQJVFI6MOQ2/