CVE-2018-6758 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in uWSGI allows attackers to execute arbitrary code or cause a denial of service via a large directory length.

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

What is CVE-2018-6758?

CVE-2018-6758 is a critical memory corruption vulnerability in n/a, published on 6 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.

Weakness: CWE-787

Which versions are affected by CVE-2018-6758?

It affects 1 product.

Linux distribution packages (1)
uwsgi openSUSE:TumbleweedAll versions2.0.19.1-3.10

Products include Unbit Uwsgi.

How do I fix CVE-2018-6758?

Apply the vendor's patch.

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

Is CVE-2018-6758 being exploited?

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

Sources

Also known as ALPINE-CVE-2018-6758, DEBIAN-CVE-2018-6758, DLA-1275-1, GHSA-gp37-5368-2566, UBUNTU-CVE-2018-6758, openSUSE-SU-2024:11490-1.

Is CVE-2018-6758 in your software?

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

Check your SBOMs for free