USN-4897-2

Source
https://ubuntu.com/security/notices/USN-4897-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4897-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4897-2
Upstream
CVE (2)
Related
Published
2023-08-14T10:38:30Z
Modified
2026-06-29T13:48:40Z
Summary
pygments vulnerabilities
Details

USN-4897-1 fixed several vulnerabilities in Pygments. This update provides the corresponding update for Ubuntu 14.04 LTS.

Original advisory details:

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. (CVE-2021-27291)

It was discovered that Pygments incorrectly handled parsing certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2021-20270)

References

Affected packages

Ubuntu:Pro:14.04:LTS / pygments

Package

Name
pygments
Purl
pkg:deb/ubuntu/pygments?arch=source&distro=trusty%2Fesm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.6+dfsg-1ubuntu1.1+esm1

Affected versions

1.*
1.6+dfsg-1
1.6+dfsg-1build1
1.6+dfsg-1ubuntu1
1.6+dfsg-1ubuntu1.1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-pygments",
            "binary_version":  "1.6+dfsg-1ubuntu1.1+esm1"
        },
        {
            "binary_name":  "python3-pygments",
            "binary_version":  "1.6+dfsg-1ubuntu1.1+esm1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2021-20270",
            "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-27291",
            "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"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:14.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4897-2.json"