Security mailing lists by PureSourceCode

CVE-2021-29421

HIGH 7.5CVSS 3.1

Improper Restriction of XML External Entity Reference in pikepdf

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

Published
1 Apr 2021
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-611
Also known as
GHSA-ccgm-3xw4-h5p8PYSEC-2021-34
Sources
NVDJSONOSV GHSA-ccgm-3xw4-h5p8JSONOSV PYSEC-2021-34JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pikepdf_project pikepdf
cpe:2.3:a:pikepdf_project:pikepdf:*:*:*:*:*:*:*:*
>= 1.3.0, <= 2.9.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
OSV PyPI pikepdf >= 1.3.0, < 2.10.0 2.10.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 1 Apr 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Apr 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.