XML External Entity (XXE) Injection Affecting py3-pikepdf package, versions <2.9.1-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE316-PY3PIKEPDF-2845989
  • published16 Jun 2021
  • disclosed1 Apr 2021

Introduced: 1 Apr 2021

CVE-2021-29421  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Alpine:3.16 py3-pikepdf to version 2.9.1-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-pikepdf package and not the py3-pikepdf package as distributed by Alpine. See How to fix? for Alpine:3.16 relevant fixed versions and status.

models/metadata.py in the pikepdf package 1.3.0 through 2.9.2 for Python allows XXE when parsing XMP metadata entries.

CVSS Scores

version 3.1