Input validation error in urijs - CVE-2021-27516

 

Input validation error in urijs - CVE-2021-27516

Published: August 29, 2022


Vulnerability identifier: #VU66816
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-2021-27516
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of strings that contain backslash, such as "http:/", which is interpreted as as a relative path. A remote attacker can pass a malformed URI to the application and read contents local files.


Affected software

urijs

How to mitigate CVE-2021-27516

Install updates from vendor's website.

urijs - update to 1.19.6

External References

Related Security Bulletins