{"schemaVersion":3,"id":"CVE-2021-47621","aliases":["CGA-2jpm-5qh9-r26f","CGA-hpcm-w296-3xqf","CGA-qrqq-4xjm-5mg6","CGA-r27x-mf9c-grwq","CGA-9hrr-6xxc-m5hf","CGA-ghgx-q3rc-m9mw","CGA-mc94-9qjf-5qmh","CGA-pv8g-rfm3-7cq5","GHSA-v2xm-76pq-phcf","CGA-qx39-q36p-9j4r","CGA-wgxq-qmv3-7xgp"],"status":"published","duplicateOf":null,"title":null,"description":"ClassGraph before 4.8.112 was not resistant to XML eXternal Entity (XXE) attacks.","dates":{"published":"2024-06-21T00:00:00.000Z","modified":"2025-03-13T20:37:30.778Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00556,"percentile":0.45258,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00556},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00556,"percentile":0.45258}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00556,"percentile":0.45258}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"chainguard","product":"management-api-for-apache-cassandra-4.0","name":"management-api-for-apache-cassandra-4.0","label":"management-api-for-apache-cassandra-4.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/management-api-for-apache-cassandra-4.0","purlType":"apk","versions":[{"text":"< 0.1.89-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.89-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"management-api-for-apache-cassandra-4.0-compat","name":"management-api-for-apache-cassandra-4.0-compat","label":"management-api-for-apache-cassandra-4.0-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/management-api-for-apache-cassandra-4.0-compat","purlType":"apk","versions":[{"text":"< 0.1.89-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.89-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"management-api-for-apache-cassandra-4.1","name":"management-api-for-apache-cassandra-4.1","label":"management-api-for-apache-cassandra-4.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/management-api-for-apache-cassandra-4.1","purlType":"apk","versions":[{"text":"< 0.1.109-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.109-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"management-api-for-apache-cassandra-5.0","name":"management-api-for-apache-cassandra-5.0","label":"management-api-for-apache-cassandra-5.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/management-api-for-apache-cassandra-5.0","purlType":"apk","versions":[{"text":"< 0.1.89-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.89-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"management-api-for-apache-cassandra-5.0-compat","name":"management-api-for-apache-cassandra-5.0-compat","label":"management-api-for-apache-cassandra-5.0-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/management-api-for-apache-cassandra-5.0-compat","purlType":"apk","versions":[{"text":"< 0.1.89-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.89-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"management-api-for-apache-cassandra-5.0","name":"management-api-for-apache-cassandra-5.0","label":"management-api-for-apache-cassandra-5.0","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/management-api-for-apache-cassandra-5.0","purlType":"apk","versions":[{"text":"< 0.1.89-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.89-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"management-api-for-apache-cassandra-5.0-compat","name":"management-api-for-apache-cassandra-5.0-compat","label":"management-api-for-apache-cassandra-5.0-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/management-api-for-apache-cassandra-5.0-compat","purlType":"apk","versions":[{"text":"< 0.1.89-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.89-r0","eol":null,"hubHref":null},{"vendor":"io.github.classgraph","product":"classgraph","name":"io.github.classgraph:classgraph","label":"classgraph","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/io.github.classgraph/classgraph","purlType":"maven","versions":[{"text":"< 4.8.112","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.112","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.112","label":"github.com/classgraph/classgraph/releases/tag/classgraph-4.8.112","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/classgraph/classgraph/commit/681362ad6b0b9d9abaffb2e07099ce54d7a41fa3","label":"github.com/classgraph/classgraph/commit/681362ad6b0b9d9abaffb2e07099ce54d7a41fa3","hostname":"github.com","tags":["FIX","WEB"]},{"url":"https://github.com/classgraph/classgraph/pull/539","label":"github.com/classgraph/classgraph/pull/539","hostname":"github.com","tags":["FIX","WEB"]},{"url":"https://docs.r3.com/en/platform/corda/4.8/enterprise/release-notes-enterprise.html","label":"docs.r3.com/en/platform/corda/4.8/enterprise/release-notes-enterprise.html","hostname":"docs.r3.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47621","label":"nvd.nist.gov/vuln/detail/CVE-2021-47621","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/classgraph/classgraph","label":"github.com/classgraph/classgraph","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-654J-WJM3-QMG4","CGA-6XH9-7QFW-5CQR","CGA-G2Q2-9VQG-G6XM","CGA-PQ95-X78H-QX9R"]},"timeline":[{"kind":"published","date":"2024-06-21T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-13T20:37:30.778Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:01:38.026Z","stale":false,"partial":false}}