Path traversal in fasthttp - CVE-2022-21221

 

Path traversal in fasthttp - CVE-2022-21221

Published: March 27, 2024


Vulnerability identifier: #VU87847
CSH Severity: Medium
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]
CVE-ID: CVE-2022-21221
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 insufficient sanitization of user-supplied passed via the ServeFile function. A remote attacker can use a backslash %5c character in the path and read contents of arbitrary files on the system.


Affected software

fasthttp
IBM Cloud Pak for Watson AIOps

How to mitigate CVE-2022-21221

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

fasthttp - update to 1.34.0
IBM Cloud Pak for Watson AIOps - update to 4.4.0

External References

Related Security Bulletins