Stack-based buffer overflow in uWSGI - CVE-2018-6758

 

Stack-based buffer overflow in uWSGI - CVE-2018-6758

Published: March 2, 2018 / Updated: March 22, 2018


Vulnerability identifier: #VU10843
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-6758
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the uwsgi_expand_path function due to stack-based buffer overflow. A remote attacker can request a specially crafted long directory path, trigger memory corruption and cause the service to crash.


Affected software

uWSGI
Debian Linux
Fedora
uwsgi (Alpine package)
uwsgi

How to mitigate CVE-2018-6758

Install update from vendor's website.

uwsgi (Alpine package) - addressed in versions 2.0.16-r0, 2.0.17-r0
uwsgi - addressed in versions 2.0.16-1.el7, 2.0.17.1-1.fc27

External References

Related Security Bulletins