CVE-2018-6758

Publication date 6 February 2018

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

From the Ubuntu Security Team

It was discovered that uWSGI mishandled certain input resulting in a stack buffer overflow. A remote attacker could use this vulnerability to cause uWSGI to crash or potentially execute arbitrary code.

Status

Package Ubuntu Release Status
uwsgi 18.04 LTS bionic
Not affected
17.10 artful Ignored end of life
16.04 LTS xenial
Fixed 2.0.12-5ubuntu3.2
14.04 LTS trusty
Fixed 1.9.17.1-5ubuntu0.1

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.8 · Critical

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Access our resources on patching vulnerabilities