ADVISORIES

Ubuntu Security Notice

USN-5138-1

python-py vulnerability

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:18.04:LTSpython-py
All versions before 1.5.2-1ubuntu0.1 (fixed in 1.5.2-1ubuntu0.1)
Ubuntu:20.04:LTSpython-py
All versions before 1.8.1-1ubuntu0.1 (fixed in 1.8.1-1ubuntu0.1)

References