Vulnerability · Published Apr 1, 2021 · Assigned by mitre

CVE-2021-29421

High 7.5

In plain English

A high-severity security flaw in the py3-pikepdf package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.7%top 23.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-pikepdf2.9.1-r2ALPINE-CVE-2021-29421
Alpine:v3.21py3-pikepdf2.9.1-r2ALPINE-CVE-2021-29421
Alpine:v3.22py3-pikepdf2.9.1-r2ALPINE-CVE-2021-29421
Alpine:v3.23py3-pikepdf2.9.1-r2ALPINE-CVE-2021-29421
Alpine:v3.24py3-pikepdf2.9.1-r2ALPINE-CVE-2021-29421
Debian:12pikepdf1.17.3+dfsg-5DEBIAN-CVE-2021-29421
Debian:13pikepdf1.17.3+dfsg-5DEBIAN-CVE-2021-29421
Debian:14pikepdf1.17.3+dfsg-5DEBIAN-CVE-2021-29421
PyPIpikepdf2.10.0PYSEC-2021-34
PyPIpikepdf2.10.0GHSA-ccgm-3xw4-h5p8
Ubuntu:22.04:LTSpikepdfno fix listedUBUNTU-CVE-2021-29421
Ubuntu:24.04:LTSpikepdfno fix listedUBUNTU-CVE-2021-29421
Ubuntu:25.10pikepdfno fix listedUBUNTU-CVE-2021-29421
Ubuntu:26.04:LTSpikepdfno fix listedUBUNTU-CVE-2021-29421
Ubuntu:26.10pikepdfno fix listedUBUNTU-CVE-2021-29421

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References