CVE-2021-34338 Memory corruption in ming

Medium 6.5 Published Updated

An out-of-bounds buffer overwrite in the Ming library allows attackers to cause a segmentation fault and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-34338?

CVE-2021-34338 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 7 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Ming 0.4.8 has an out-of-bounds buffer overwrite issue in the function getName() in decompiler.c file that causes a direct segmentation fault and leads to denial of service.

Weakness: CWE-787, CWE-125

Which versions are affected by CVE-2021-34338?

It affects 2 products.

Products include Fedoraproject Fedora, Libming Ming.

How do I fix CVE-2021-34338?

No fix has been published for CVE-2021-34338 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-34338 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-h258-qmx2-3648, UBUNTU-CVE-2021-34338.

Is CVE-2021-34338 in your software?

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

Check your SBOMs for free