Vulnerabilities

1 via 1 paths

Dependencies

7

Source

GitHub

Commit

49b23314

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity

XML External Entity (XXE) Injection

  • Vulnerable module: com.twelvemonkeys.imageio:imageio-metadata
  • Introduced through: com.twelvemonkeys.imageio:imageio-jpeg@3.4.2

Detailed paths

  • Introduced through: frickels/imagescale@frickels/imagescale#49b23314c9ddb0b0be5ab03e2e4fa8e84f55cf53 com.twelvemonkeys.imageio:imageio-jpeg@3.4.2 com.twelvemonkeys.imageio:imageio-metadata@3.4.2
    Remediation: Upgrade to com.twelvemonkeys.imageio:imageio-jpeg@3.7.1.

Overview

com.twelvemonkeys.imageio:imageio-metadata is an ImageIO metadata module.

Affected versions of this package are 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.

Remediation

Upgrade com.twelvemonkeys.imageio:imageio-metadata to version 3.7.1 or higher.

References