Your submission was sent successfully! Close

USN-5138-1: python-py vulnerability

10 November 2021

python-py could be made to crash if provided with specially crafted input.



  • python-py - Advanced Python development support library


The py.path.svnwc component of py (aka python-py) through v1.9.0 contains
a regular expression with an ambiguous subpattern that is susceptible to
catastrophic backtracing. This could be used by attackers to cause a compute-time
denial of service attack by supplying malicious input to the blame functionality.

Update instructions

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

Ubuntu 20.04
Ubuntu 18.04

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