Advisory

PYSEC-2021-34

Also known as: CVE-2021-29421, GHSA-ccgm-3xw4-h5p8

Summary

The record has no summary.

Details

models/metadata.py in the pikepdf package 1.3.0 through 2.9.2 for Python allows XXE when parsing XMP metadata entries.

Severity

Not rated by the source.

Dates

Published
2021-04-01 20:15 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

pikepdf

PyPI · All systems

Affected

  • introduced 1.3.0, fixed 2.10.0 (ecosystem)

Fixed versions

2.10.0

Fix

  • Fixed version 2.10.0
    pip install --upgrade pikepdf==2.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences