Path traversal in pyramid - CVE-2023-40587

 

Path traversal in pyramid - CVE-2023-40587

Published: August 28, 2023


Vulnerability identifier: #VU80042
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-40587
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing null-byte characters. A remote attacker can disclose content of "index.html" file exactly one directory above the location of the static view's file system path.


Affected software

pyramid
Fedora
python-pyramid

How to mitigate CVE-2023-40587

Install update from vendor's website.

pyramid - update to 2.0.2
python-pyramid - addressed in versions 2.0.2-1.fc38, 2.0.2-1.fc39

External References

Related Security Bulletins