Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pikepdf
  4. ›
  5. CVE-2021-46849

CVE-2021-46849: Improper Restriction of XML External Entity Reference

October 24, 2022

pikepdf before 2.10.0 allows an XXE attack against PDF XMP metadata parsing.

References

  • bugs.gentoo.org/779475
  • github.com/pikepdf/pikepdf/blob/v2.10.0/docs/release_notes.rst
  • nvd.nist.gov/vuln/detail/CVE-2021-46849

Code Behaviors & Features

Detect and mitigate CVE-2021-46849 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.10.0

Fixed versions

  • 2.10.0

Solution

Upgrade to version 2.10.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

pypi/pikepdf/CVE-2021-46849.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.