CVE-2021-47621 json
ClassGraph XML External Entity Reference
published 2y ago modified last mo. also GHSA-v2xm-76pq-phcf , EUVD-2024-2166
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
ClassGraph before 4.8.112 was not resistant to XML eXternal Entity (XXE) attacks.
Patch / fix
- maven io.github.classgraph:classgraph 4.8.112
- classgraph classgraph 4.8.112
Is CVE-2021-47621 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.github.classgraph:classgraph | <4.8.112 |
4.8.112 |
Affected products
- classgraph classgraph
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/classgraph/classgraph/commit/681362ad6b0b9d9abaffb2e07099ce54d7a41fa3
web
-
github.com
/classgraph/classgraph/pull/539
web
-
github.com
/classgraph/classgraph/releases/tag/classgraph-4.8.112
web
-
docs.r3.com
/en/platform/corda/4.8/enterprise/release-notes-enterprise.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-47621
advisory
-
github.com
/classgraph/classgraph
package
Sources
- CVE List CVE-2021-47621
- GitHub Advisory GHSA-v2xm-76pq-phcf
- NVD CVE-2021-47621
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.