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