{"id":"USN-4897-2","summary":"pygments vulnerabilities","details":"USN-4897-1 fixed several vulnerabilities in Pygments. This update provides\nthe corresponding update for Ubuntu 14.04 LTS.\n\nOriginal advisory details:\n\n Ben Caller discovered that Pygments incorrectly handled parsing certain\n files. If a user or automated system were tricked into parsing a specially\n crafted file, a remote attacker could cause Pygments to hang or consume\n resources, resulting in a denial of service. (CVE-2021-27291)\n\n It was discovered that Pygments incorrectly handled parsing certain\n files. An attacker could possibly use this issue to cause a denial of\n service. (CVE-2021-20270)\n","modified":"2026-04-27T16:03:37.838303186Z","published":"2023-08-14T10:38:30Z","related":["UBUNTU-CVE-2021-20270","UBUNTU-CVE-2021-27291"],"upstream":["CVE-2021-20270","CVE-2021-27291","UBUNTU-CVE-2021-20270","UBUNTU-CVE-2021-27291"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4897-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20270"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27291"}],"affected":[{"package":{"name":"pygments","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/pygments@1.6+dfsg-1ubuntu1.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6+dfsg-1ubuntu1.1+esm1"}]}],"versions":["1.6+dfsg-1","1.6+dfsg-1build1","1.6+dfsg-1ubuntu1","1.6+dfsg-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6+dfsg-1ubuntu1.1+esm1","binary_name":"python-pygments"},{"binary_version":"1.6+dfsg-1ubuntu1.1+esm1","binary_name":"python3-pygments"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2021-20270","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"}]},{"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"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4897-2.json"}}],"schema_version":"1.7.5"}