Ben Caller discovered that Pygments incorrectly handled parsing certain files. If a user or automated system were tricked into parsing a specially crafted file, a remote attacker could cause Pygments to hang or consume resources, resulting in a denial of service.
{
"binaries": [
{
"binary_name": "python-pygments",
"binary_version": "2.1+dfsg-1ubuntu0.2"
},
{
"binary_name": "python3-pygments",
"binary_version": "2.1+dfsg-1ubuntu0.2"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4897-1.json"
{
"ecosystem": "Ubuntu:16.04:LTS",
"cves": [
{
"id": "CVE-2021-27291",
"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"
}
]
}
]
}
{
"binaries": [
{
"binary_name": "python-pygments",
"binary_version": "2.2.0+dfsg-1ubuntu0.2"
},
{
"binary_name": "python3-pygments",
"binary_version": "2.2.0+dfsg-1ubuntu0.2"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4897-1.json"
{
"ecosystem": "Ubuntu:18.04:LTS",
"cves": [
{
"id": "CVE-2021-27291",
"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"
}
]
}
]
}
{
"binaries": [
{
"binary_name": "python-pygments",
"binary_version": "2.3.1+dfsg-1ubuntu2.2"
},
{
"binary_name": "python3-pygments",
"binary_version": "2.3.1+dfsg-1ubuntu2.2"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4897-1.json"
{
"ecosystem": "Ubuntu:20.04:LTS",
"cves": [
{
"id": "CVE-2021-27291",
"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"
}
]
}
]
}