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.
{
"availability": "No subscription required",
"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"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5138-1.json"
{
"cves": [
{
"id": "CVE-2020-29651",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:18.04:LTS"
}
{
"availability": "No subscription required",
"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"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5138-1.json"
{
"cves": [
{
"id": "CVE-2020-29651",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}