Advisory

GHSA-p9wf-3xpg-c9g5

Also known as: CVE-2021-39371, PYSEC-2021-121

Summary

XML External Entity Injection in PyWPS

Details

An XML external entity (XXE) injection in PyWPS before 4.5.0 allows an attacker to view files on the application server filesystem by assigning a path to the entity. OWSLib 0.24.1 may also be affected.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-02 17:11 UTC
Modified
2024-10-24 22:27 UTC

Affected packages and fixes

pywps

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.0 (ecosystem)

Fixed versions

4.5.0

Fix

  • Fixed version 4.5.0
    pip install --upgrade pywps==4.5.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences