ADVISORIES

Ubuntu Security Notice

USN-9123-1

python-mechanize vulnerability

Details

Erik Krogh Kristensen and Rasmus Petersen discovered that mechanize used an inefficient regular expression to parse authentication headers. A malicious server could possibly use this issue to cause mechanize to consume excessive resources, leading to a denial of service.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSpython-mechanize
All versions before 1:0.2.5-3ubuntu0.16.04.1~esm1 (fixed in 1:0.2.5-3ubuntu0.16.04.1~esm1)
Ubuntu:Pro:18.04:LTSpython-mechanize
All versions before 1:0.2.5-3ubuntu0.18.04.1~esm1 (fixed in 1:0.2.5-3ubuntu0.18.04.1~esm1)
Ubuntu:Pro:20.04:LTSpython-mechanize
All versions before 1:0.4.5-2ubuntu0.1~esm1 (fixed in 1:0.4.5-2ubuntu0.1~esm1)

References