GitHub Advisory Database
GHSA-ccgm-3xw4-h5p8
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pikepdf | From 1.3.0 before 2.10.0 (fixed in 2.10.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-29421
- https://github.com/pikepdf/pikepdf/commit/3f38f73218e5e782fe411ccbb3b44a793c0b343a
- https://github.com/advisories/GHSA-ccgm-3xw4-h5p8
- https://github.com/pikepdf/pikepdf
- https://github.com/pypa/advisory-database/tree/main/vulns/pikepdf/PYSEC-2021-34.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/36P4HTLBJPO524WMQWW57N3QRF4RFSJG
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3QFLBBYGEDNXJ7FS6PIWTVI4T4BUPGEQ