Moderate: libtasn1 security update

libtasn1 Updated 02 Oct 2025

Summary

23/01/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:0343: Moderate: libtasn1 security update. Affects libtasn1 versions < 4.16.0-8.el9_1. Fixed in 4.16.0-8.el9_1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libtasn1 is a library that provides Abstract Syntax Notation One (ASN.1) parsing and structures management, as well as Distinguished Encoding Rules (DER) encoding and decoding functions. It is used to handle ASN.1 data and perform encoding and decoding operations. The library is widely used in various software applications and systems.

Vulnerability Detail

The libtasn1 library is affected by an out-of-bound access vulnerability in the ETYPE_OK function. This vulnerability, identified as CVE-2021-46848, can be exploited by an attacker to gain unauthorized access or execute arbitrary code on a system using a specially crafted ASN.1 data. The impact of this vulnerability can vary depending on the context in which the library is used, but it has the potential to lead to remote code execution or privilege escalation.

How To Fix

Minimum fixed version

4.16.0-8.el9_1

This is the first release that contains the fix.

sudo dnf update libtasn1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update provided by the libtasn1 package to mitigate the risk.

Conclusion

It is crucial to update the libtasn1 package to the latest version to address the out-of-bound access vulnerability. Failure to do so may expose systems to potential unauthorized access or code execution. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libtasn1 →

Share this vulnerability

FAQ

libtasn1 is a library that provides ASN.1 parsing and encoding functions.

The vulnerability can allow an attacker to gain unauthorized access or execute arbitrary code.

Update the libtasn1 package to version 4.16.0-8.el9_1 or later.

No, there is no known workaround for this vulnerability.

You can find more information about this vulnerability in the CVE page: CVE-2021-46848.

Related vulnerabilities

Recent vulnerabilities recorded for libtasn1.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

4.16.0-8.el9_1

This is the first release that contains the fix.

sudo dnf update libtasn1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback