GHSA-pjch-4g28-fxx7

Suggest an improvement
Source
https://github.com/advisories/GHSA-pjch-4g28-fxx7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-pjch-4g28-fxx7/GHSA-pjch-4g28-fxx7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pjch-4g28-fxx7
Aliases
Published
2022-05-07T00:00:31Z
Modified
2024-08-01T07:26:37.567275Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
External Entity Reference in TwelveMonkeys ImageIO
Details

The package com.twelvemonkeys.imageio:imageio-metadata before version 3.7.1 is vulnerable to XML External Entity (XXE) Injection due to an insecurely initialized XML parser for reading XMP Metadata. An attacker can exploit this vulnerability if they are able to supply a file (e.g. when an online profile picture is processed) with a malicious XMP segment. If the XMP metadata of the uploaded image is parsed, then the XXE vulnerability is triggered.

Database specific
{
    "nvd_published_at": "2022-05-06T20:15:00Z",
    "github_reviewed_at": "2022-05-24T20:58:43Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-611"
    ]
}
References

Affected packages

Maven / com.twelvemonkeys.imageio:imageio-metadata

Package

Name
com.twelvemonkeys.imageio:imageio-metadata
View open source insights on deps.dev
Purl
pkg:maven/com.twelvemonkeys.imageio/imageio-metadata

Affected ranges

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

Affected versions

3.*

3.0-rc5
3.0-rc7
3.0
3.0.1
3.0.2
3.1.0
3.1.1
3.1.2
3.2
3.2.1
3.3
3.3.1
3.3.2
3.4
3.4.1
3.4.2
3.4.3
3.5
3.6
3.6.1
3.6.2
3.6.3
3.6.4
3.7.0