{"id":"CVE-2021-23463","published":"2021-12-10T20:00:14Z","modified":"2024-09-17T03:47:43Z","title":"XML External Entity (XXE) Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02787,"percentile":0.86747,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/h2database/h2database/issues/3195","tags":[]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238","tags":[]},{"url":"https://github.com/h2database/h2database/pull/3199","tags":[]},{"url":"https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0010/","tags":[]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":17.35},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":"n/a","product":"com.h2database:h2","versions":["< unspecified",">= unspecified, < 2.0.202"]}],"affected":[{"ecosystem":"Maven","package":"com.h2database:h2","vulnerableRanges":[">=1.4.198, <2.0.202"],"patched":["2.0.202"],"from":["GHSA-7rpj-hg47-cx62"],"provenance":"source"}],"summary":{"text":"The H2 database's com.h2database:h2 package, in versions 1.4.198 through before 2.0.202, contains an XML External Entity (XXE) injection flaw in the org.h2.jdbc.JdbcSQLXML class, which processes parsed string data returned by JdbcResultSet.getSQLXML(). An attacker with low-privilege access over the network can trigger the flaw without user interaction by having getSource() executed with DOMSource.class as the parameter, which causes the XML parser to resolve external entities.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:24Z"},"euvd":{"id":"EUVD-2021-2477","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-23463","published":"2021-12-10","fixed":"2.0.202","kev":false},{"cve":"CVE-2021-42392","published":"2022-01-07","fixed":"2.0.206","kev":false,"link":{"from":"CVE-2021-23463","to":"CVE-2021-42392","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.h2database:h2","fromFixed":"2.0.202","toFixed":"2.0.206","daysApart":28}]}},{"cve":"CVE-2022-23221","published":"2022-01-19","fixed":"2.1.210","kev":false},{"cve":"CVE-2022-45868","published":"2022-11-23","fixed":"2.2.220","kev":false}],"package":"Maven:com.h2database:h2"}}