{"id":"GHSA-ccgm-3xw4-h5p8","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.","aliases":["CVE-2021-29421","PYSEC-2021-34"],"modified":"2024-10-09T20:02:03.422882Z","published":"2021-04-20T16:30:03Z","database_specific":{"github_reviewed":true,"severity":"HIGH","nvd_published_at":"2021-04-01T20:15:00Z","github_reviewed_at":"2021-04-19T21:54:20Z","cwe_ids":["CWE-611"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29421"},{"type":"WEB","url":"https://github.com/pikepdf/pikepdf/commit/3f38f73218e5e782fe411ccbb3b44a793c0b343a"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ccgm-3xw4-h5p8"},{"type":"PACKAGE","url":"https://github.com/pikepdf/pikepdf"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pikepdf/PYSEC-2021-34.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36P4HTLBJPO524WMQWW57N3QRF4RFSJG"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QFLBBYGEDNXJ7FS6PIWTVI4T4BUPGEQ"}],"affected":[{"package":{"name":"pikepdf","ecosystem":"PyPI","purl":"pkg:pypi/pikepdf"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"2.10.0"}]}],"versions":["1.10.0","1.10.1","1.10.2","1.10.3","1.10.4","1.11.0","1.11.1","1.11.2","1.12.0","1.13.0","1.14.0","1.15.0","1.15.1","1.16.0","1.16.1","1.17.0","1.17.1","1.17.2","1.17.3","1.18.0","1.19.0","1.19.1","1.19.2","1.19.3","1.19.4","1.3.0","1.3.1","1.4.0","1.5.0","1.5.0.post0","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.7.0","1.7.1","1.8.0","1.8.1","1.8.2","1.8.3","1.9.0","2.0.0","2.0.0b1","2.0.0b2","2.1.0","2.1.1","2.1.2","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.4.0","2.5.0","2.5.1","2.5.2","2.6.0","2.7.0","2.8.0","2.8.0.post1","2.8.0.post2","2.9.0","2.9.1","2.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-ccgm-3xw4-h5p8/GHSA-ccgm-3xw4-h5p8.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}