SecurityContext

CVE-2021-29421: pikepdf - XML External Entity Injection

  • Cve: CVE-2021-29421
  • Name: pikepdf - XML External Entity Injection
  • Description: models/metadata.py in the pikepdf package 1.3.0 through 2.9.2 for Python allows XXE when parsing XMP metadata entries.
  • Impact: Attackers can execute malicious XML payloads, potentially leading to information disclosure or remote code execution.
  • Remediation: Update to the latest version of pikepdf that addresses this vulnerability or apply security patches.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: information_disclosure, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01681
  • Epss percentile: 0.77428
  • Assignee: [email protected]
  • Published at: 2021-04-01T20:15:12Z
  • Age in days: 2063
  • Modified at: 2026-06-17T03:47:36Z
  • Patch available: yes
  • References total: 4
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29421
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-611Improper Restriction of XML External Entity Reference

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/pikepdf/pikepdf/commit/3f38f73218e5e782fe411ccbb3b44a793c0b343aPatch, Third Party Advisory
https://github.com/pikepdf/pikepdf/blob/v2.10.0/docs/release_notes.rst#v2100Release Notes, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36P4HTLBJPO524WMQWW57N3QRF4RFSJG/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QFLBBYGEDNXJ7FS6PIWTVI4T4BUPGEQ/

Products

ProductAffectedPlatform boundSourcesUrl
pikepdf_project:pikepdf>= 1.3.0, <= 2.9.2nonvd/v1/products/pikepdf_project/pikepdf
fedoraproject:fedora= 33, = 32nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
pikepdf/pikepdfcommit, fix, packageyes/v1/repositories/pikepdf/pikepdf

Index

  • Repositories: 6
  • Repositories high signal: 3
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports