CVEfocus › CVE database › CVE-2021-29421

CVE-2021-29421

CVSS 7.5 HighEPSS 1.7% (higher than 77% of CVEs)Published 2021-04-01Updated 2024-08-03Assigner: mitre

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

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
1Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10pikepdfFix pendingUBUNTU-CVE-2021-29421
Ubuntu 26.04pikepdfUnder investigationUBUNTU-CVE-2021-29421
Ubuntu 25.10pikepdfWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-29421
Ubuntu 24.04pikepdfUnder investigationUBUNTU-CVE-2021-29421
Ubuntu 22.04pikepdfUnder investigationUBUNTU-CVE-2021-29421
Ubuntu 20.04pikepdfWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-29421
Debian 14pikepdfFixed1.17.3+dfsg-5DEBIAN-CVE-2021-29421
Debian 13pikepdfFixed1.17.3+dfsg-5DEBIAN-CVE-2021-29421
Debian 12pikepdfFixed1.17.3+dfsg-5DEBIAN-CVE-2021-29421
Alpine Linux 3.24py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.23py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.22py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.21py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.20py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.19py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.18py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.17py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.16py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.15py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
Alpine Linux 3.14py3-pikepdfFixed2.9.1-r2ALPINE-CVE-2021-29421
PyPI librarypikepdfFixed2.10.0GHSA-ccgm-3xw4-h5p8

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.