GHSA-25gw-4pcc-45cf

Suggest an improvement
Source
https://github.com/advisories/GHSA-25gw-4pcc-45cf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-25gw-4pcc-45cf/GHSA-25gw-4pcc-45cf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-25gw-4pcc-45cf
Aliases
Published
2022-05-13T01:14:24Z
Modified
2024-03-14T05:20:16.739Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Deserialization of Untrusted Data in Apache Batik
Details

In Apache Batik 1.x before 1.10, when deserializing subclass of AbstractDocument, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.

Database specific
{
    "nvd_published_at": "2018-05-24T16:29:00Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-29T18:57:27Z"
}
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
1.0
Fixed
1.10

Affected versions

1.*

1.9.1

Database specific

{
    "last_known_affected_version_range": "<= 1.9.1"
}