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


Vulnerability identifier: #VU101723

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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: Network

Exploit availability: No

Vulnerable software:
classgraph
Other software / Other software solutions

Vendor: classgraph

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

classgraph: before 4.8.112


External links
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.112
https://github.com/classgraph/classgraph/commit/681362ad6b0b9d9abaffb2e07099ce54d7a41fa3
https://github.com/classgraph/classgraph/pull/539
https://docs.r3.com/en/platform/corda/4.8/enterprise/release-notes-enterprise.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability