PT-2023-12665 · Unknown · Serve-Lite
Liran Tal
·
Published
2023-01-25
·
Updated
2023-02-01
·
CVE-2022-21192
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
serve-lite versions all
Description
The issue arises from missing input sanitization or other checks and protections employed to the
req.url passed as-is to path.join(), leading to Directory Traversal. This allows potential access to sensitive files and directories.Recommendations
For all versions, consider disabling the
path.join() function with unsanitized req.url input until a patch is available. Restrict access to sensitive files and directories to minimize the risk of exploitation. Avoid using the req.url variable in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Serve-Lite