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
| Id | Name |
|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pikepdf_project:pikepdf | >= 1.3.0, <= 2.9.2 | no | nvd | /v1/products/pikepdf_project/pikepdf |
| fedoraproject:fedora | = 33, = 32 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pikepdf/pikepdf | commit, fix, package | yes | /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