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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-pikepdf | 2.9.1-r2 | ALPINE-CVE-2021-29421 |
| Alpine:v3.21 | py3-pikepdf | 2.9.1-r2 | ALPINE-CVE-2021-29421 |
| Alpine:v3.22 | py3-pikepdf | 2.9.1-r2 | ALPINE-CVE-2021-29421 |
| Alpine:v3.23 | py3-pikepdf | 2.9.1-r2 | ALPINE-CVE-2021-29421 |
| Alpine:v3.24 | py3-pikepdf | 2.9.1-r2 | ALPINE-CVE-2021-29421 |
| Debian:12 | pikepdf | 1.17.3+dfsg-5 | DEBIAN-CVE-2021-29421 |
| Debian:13 | pikepdf | 1.17.3+dfsg-5 | DEBIAN-CVE-2021-29421 |
| Debian:14 | pikepdf | 1.17.3+dfsg-5 | DEBIAN-CVE-2021-29421 |
| PyPI | pikepdf | 2.10.0 | PYSEC-2021-34 |
| PyPI | pikepdf | 2.10.0 | GHSA-ccgm-3xw4-h5p8 |
| Ubuntu:22.04:LTS | pikepdf | no fix listed | UBUNTU-CVE-2021-29421 |
| Ubuntu:24.04:LTS | pikepdf | no fix listed | UBUNTU-CVE-2021-29421 |
| Ubuntu:25.10 | pikepdf | no fix listed | UBUNTU-CVE-2021-29421 |
| Ubuntu:26.04:LTS | pikepdf | no fix listed | UBUNTU-CVE-2021-29421 |
| Ubuntu:26.10 | pikepdf | no fix listed | UBUNTU-CVE-2021-29421 |