GHSA-7rpj-hg47-cx62

Suggest an improvement
Source
https://github.com/advisories/GHSA-7rpj-hg47-cx62
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-7rpj-hg47-cx62/GHSA-7rpj-hg47-cx62.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7rpj-hg47-cx62
Aliases
Published
2021-12-16T14:29:57Z
Modified
2024-02-16T08:22:24.234204Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
Improper Restriction of XML External Entity Reference in com.h2database:h2.
Details

H2 is an embeddable RDBMS written in Java. 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.

Database specific
{
    "nvd_published_at": "2021-12-10T20:15:00Z",
    "cwe_ids": [
        "CWE-611"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-12-14T14:17:37Z"
}
References

Affected packages

Maven / com.h2database:h2

Package

Name
com.h2database:h2
View open source insights on deps.dev
Purl
pkg:maven/com.h2database/h2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.4.198
Fixed
2.0.202

Affected versions

1.*

1.4.198
1.4.199
1.4.200