unbit/uwsgi · Security
uWSGI Directory Traversal vulnerability
- GHSA ID
- GHSA-h2vm-c85r-5vh5
- CVE ID
- CVE-2018-7490
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Description
uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-7490 ↗
- https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html ↗
- https://www.debian.org/security/2018/dsa-4142 ↗
- https://github.com/unbit/uwsgi/commit/0a480f435ea6feb63deb410ad2bf376ed3f05f8a ↗
- https://www.exploit-db.com/exploits/44223 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/uwsgi/PYSEC-2018-78.yaml ↗
- https://github.com/advisories/GHSA-h2vm-c85r-5vh5 ↗