{"id":"CVE-2021-29421","aliases":["GHSA-ccgm-3xw4-h5p8","PYSEC-2021-34"],"url":"https://o3.security/vulnerability/CVE-2021-29421","summary":"Improper Restriction of XML External Entity Reference in pikepdf","details":"models/metadata.py in the pikepdf package 1.3.0 through 2.9.2 for Python allows XXE when parsing XMP metadata entries.","published":"2021-04-01T20:15:12.453Z","modified":"2026-07-24T17:29:54.731569571Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"pikepdf","fixedVersion":"2.10.0"}],"fix":{"url":"https://github.com/pikepdf/pikepdf/commit/3f38f73218e5e782fe411ccbb3b44a793c0b343a","label":"pikepdf/pikepdf@3f38f73"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36P4HTLBJPO524WMQWW57N3QRF4RFSJG/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QFLBBYGEDNXJ7FS6PIWTVI4T4BUPGEQ/"},{"type":"ADVISORY","url":"https://github.com/pikepdf/pikepdf/blob/v2.10.0/docs/release_notes.rst#v2100"},{"type":"FIX","url":"https://github.com/pikepdf/pikepdf/commit/3f38f73218e5e782fe411ccbb3b44a793c0b343a"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-24T17:29:54.731569571Z"}}