Back to Security Advisories

PyWPS Vulnerability — Ubuntu Security Update (USN-9147-1)

USN-9147-1 fixes CVE-2021-39371 in PyWPS on Ubuntu 20.04 LTS and 18.04 LTS: PyWPS could be made to expose sensitive information over the network. A standard system update installs the fix.

High 7.5 CVSS
Ubuntu 20.04 Ubuntu 22.04

What this means under a SharedLicense license

A remote attacker could possibly use this issue to read arbitrary files on the server.

  1. Ubuntu Security Notices

  2. USN-9147-1


Publication date

17 November 2026

Overview

PyWPS could be made to expose sensitive information over the network.

Releases


20.04 LTS


18.04 LTS


Packages

  • pywps – implementation of OGC’s Web Processing Service

Details

It was discovered that PyWPS did not disable the resolution of XML external
entities when parsing requests. A remote attacker could possibly use this
issue to read arbitrary files on the server.

It was discovered that PyWPS did not disable the resolution of XML external
entities when parsing requests. A remote attacker could possibly use this
issue to read arbitrary files on the server.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 LTS focal python3-pywps –  4.2.4-1ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
18.04 LTS bionic python-pywps –  4.0.0-5ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.

References

Frequently Asked Questions

What does USN-9147-1 fix?
It was discovered that PyWPS did not disable the resolution of XML external entities when parsing requests. A remote attacker could possibly use this issue to read arbitrary files on the server.
Which Ubuntu releases are affected?
The notice lists Ubuntu 20.04 LTS, Ubuntu 18.04 LTS.
How do I apply USN-9147-1?
In general, a standard system update will make all the necessary changes. In practice: run sudo apt update && sudo apt upgrade on the server.
Which packages are updated?
The update ships new builds of pywps - implementation of OGC's Web Processing Service.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System