GHSA-qwgx-59jw-qfg9

Suggest an improvement
Source
https://github.com/advisories/GHSA-qwgx-59jw-qfg9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qwgx-59jw-qfg9/GHSA-qwgx-59jw-qfg9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qwgx-59jw-qfg9
Aliases
Published
2022-05-13T01:14:24Z
Modified
2023-11-08T03:59:23.164223Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
Summary
Improper Restriction of XML External Entity Reference in Apache Batik
Details

In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.

Database specific
{
    "nvd_published_at": "2017-04-18T14:59:00Z",
    "github_reviewed_at": "2022-07-01T11:55:03Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-611"
    ]
}
References

Affected packages

Maven / org.apache.xmlgraphics:batik

Package

Name
org.apache.xmlgraphics:batik
View open source insights on deps.dev
Purl
pkg:maven/org.apache.xmlgraphics/batik

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9