XML External Entity injection in classgraph



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-47621
CWE-ID CWE-611
Exploitation vector Network
Public exploit N/A
Vulnerable software
classgraph
Other software / Other software solutions

Vendor classgraph

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) XML External Entity injection

EUVDB-ID: #VU101723

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 - Improper Restriction of XML External Entity Reference ('XXE')

Exploit availability: No

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 update from vendor's website.

Vulnerable software versions

classgraph: before 4.8.112

CPE2.3 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.



###SIDEBAR###