OSV-2017-138 Heap-use-after-free in gnutls_x509_crl_deinit

Not scored Published

A heap-use-after-free vulnerability in GnuTLS allows attackers to cause denial of service or potentially execute code via crafted PKCS12 data.

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

What is OSV-2017-138?

OSV-2017-138 is an use after free vulnerability in gnutls, published on 15 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1304

Crash type: Heap-use-after-free READ 8
Crash state:
gnutls_x509_crl_deinit
gnutls_pkcs12_simple_parse
_start

Which versions are affected by OSV-2017-138?

1 open source package ship an affected version, including gnutls.

PackageAffectedFixed in
gnutls OSS-FuzzAll versionsNone

How do I fix OSV-2017-138?

No fix has been published for OSV-2017-138 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2017-138 being exploited?

There is no known exploitation of OSV-2017-138 in the wild and no public exploit code.

Sources

Is OSV-2017-138 in your software?

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

Check your SBOMs for free