CVE-2024-12243 Gnutls: gnutls impacted by inefficient der decoding in libtasn1 leading to remote dos

Medium 5.3 Published Updated

Remote attackers can cause denial of service in GnuTLS by sending crafted certificates that trigger inefficient DER decoding in libtasn1.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-12243?

CVE-2024-12243 is a medium-severity denial of service vulnerability in Red Hat Discovery 1.14, published on 10 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in GnuTLS, which relies on libtasn1 for ASN.1 data processing. Due to an inefficient algorithm in libtasn1, decoding certain DER-encoded certificate data can take excessive time, leading to increased resource consumption. This flaw allows a remote attacker to send a specially crafted certificate, causing GnuTLS to become unresponsive or slow, resulting in a denial-of-service condition.

Weakness: CWE-407

Which versions are affected by CVE-2024-12243?

Linux distribution packages (40)
gnutls AlmaLinux:8All versions3.6.16-8.el8_10.3
gnutls-c++ AlmaLinux:8All versions3.6.16-8.el8_10.3
gnutls-dane AlmaLinux:8All versions3.6.16-8.el8_10.3
gnutls-devel AlmaLinux:8All versions3.6.16-8.el8_10.3
gnutls-utils AlmaLinux:8All versions3.6.16-8.el8_10.3
gnutls AlmaLinux:9All versions3.8.3-6.el9
gnutls-c++ AlmaLinux:9All versions3.8.3-6.el9
gnutls-dane AlmaLinux:9All versions3.8.3-6.el9
gnutls-devel AlmaLinux:9All versions3.8.3-6.el9
gnutls-utils AlmaLinux:9All versions3.8.3-6.el9
gnutls-c++ Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-c++-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-dane Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-dane-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-devel Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-utils Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls-utils-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_10.3
gnutls Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_10.3
gnutls-c++-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_10.3
gnutls-dane-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_10.3
gnutls-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_10.3
gnutls-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_10.3
gnutls-utils-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_10.3
gnutls-c++ Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-c++-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-dane Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-dane-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-devel Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-utils Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls-utils-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.8.3-6.el9
gnutls Red Hat:enterprise_linux:9::baseosAll versions0:3.8.3-6.el9
gnutls-c++-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:3.8.3-6.el9
gnutls-dane-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:3.8.3-6.el9
gnutls-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:3.8.3-6.el9
gnutls-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:3.8.3-6.el9
gnutls-utils-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:3.8.3-6.el9

How do I fix CVE-2024-12243?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-12243 being exploited?

There is no known exploitation of CVE-2024-12243 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2024-12243, ALSA-2025:4051, ALSA-2025:7076, AZL-56752, AZL-56762, BELL-CVE-2024-12243 and 30 more.

Is CVE-2024-12243 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free