CVEfocus › CVE database › CVE-2018-6758

CVE-2018-6758

CVSS 9.8 CriticalEPSS 2.0% (higher than 82% of CVEs)Published 2018-02-06Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

26Fixed
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04uwsgiNot affected
vulnerable_code_not_present
Ubuntu 16.04uwsgiFixed2.0.12-5ubuntu3.2UBUNTU-CVE-2018-6758
Ubuntu 14.04uwsgiFixed1.9.17.1-5ubuntu0.1UBUNTU-CVE-2018-6758
Debian 14uwsgiFixed2.0.15-10.2DEBIAN-CVE-2018-6758
Debian 13uwsgiFixed2.0.15-10.2DEBIAN-CVE-2018-6758
Debian 12uwsgiFixed2.0.15-10.2DEBIAN-CVE-2018-6758
Alpine Linux 3.24uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.23uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.22uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.21uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.20uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.19uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.18uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.17uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.16uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.15uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.14uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.13uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.12uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.11uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.10uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.9uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.8uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.7uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.6uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.5uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758
Alpine Linux 3.4uwsgiFixed2.0.16-r0ALPINE-CVE-2018-6758

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.