XML External Entity injection in classgraph - CVE-2021-47621

 

XML External Entity injection in classgraph - CVE-2021-47621

Published: December 11, 2024


Vulnerability identifier: #VU101723
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-47621
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: classgraph
Affected software:
classgraph

Detailed vulnerability description

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

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.


How to mitigate CVE-2021-47621

Install updates from vendor's website.

Sources