PT-2023-12665
CVE-2022-21192
·
Published
2023-01-25
·
Updated
2023-02-01
Description by
CVSS 3.1
7.5
HighMetricsAV: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.Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾