CVE-2021-47621classgraph
High 7.5 No auth needed
Follow: this CVE · classgraph · classgraph We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 21, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
ClassGraph before 4.8.112 was not resistant to XML eXternal Entity (XXE) attacks.
What to do
- Apply the vendor's security update for classgraph.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | io.github.classgraph:classgraph |
< 4.8.112 |
4.8.112 |
— |
Per OSV / GitHub Advisories (GHSA-v2xm-76pq-phcf). Check the version in your lockfile before upgrading.
Affected products
- classgraph · classgraph
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.