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
1.68% (76th 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 IDSNYK-ALPINE322-PY3PIKEPDF-10282318
  • published31 May 2025
  • 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.22 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.22 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 Base Scores

version 3.1