USN-5138-1

Source
https://ubuntu.com/security/notices/USN-5138-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5138-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5138-1
Upstream
Related
Published
2021-11-10T22:09:54.489651Z
Modified
2025-10-13T04:35:40Z
Summary
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.

References

Affected packages

Ubuntu:18.04:LTS / python-py

Package

Name
python-py
Purl
pkg:deb/ubuntu/python-py@1.5.2-1ubuntu0.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.2-1ubuntu0.1

Affected versions

1.*

1.4.34-2ubuntu1
1.4.34-3
1.5.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.5.2-1ubuntu0.1",
            "binary_name": "pypy-py"
        },
        {
            "binary_version": "1.5.2-1ubuntu0.1",
            "binary_name": "python-py"
        },
        {
            "binary_version": "1.5.2-1ubuntu0.1",
            "binary_name": "python3-py"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:18.04:LTS",
    "cves": [
        {
            "id": "CVE-2020-29651",
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ]
        }
    ]
}

Ubuntu:20.04:LTS / python-py

Package

Name
python-py
Purl
pkg:deb/ubuntu/python-py@1.8.1-1ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1-1ubuntu0.1

Affected versions

1.*

1.8.0-1
1.8.0-1build2
1.8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.8.1-1ubuntu0.1",
            "binary_name": "pypy-py"
        },
        {
            "binary_version": "1.8.1-1ubuntu0.1",
            "binary_name": "python-py"
        },
        {
            "binary_version": "1.8.1-1ubuntu0.1",
            "binary_name": "python3-py"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:20.04:LTS",
    "cves": [
        {
            "id": "CVE-2020-29651",
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ]
        }
    ]
}