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.test.osv.dev/v1/vulns/USN-4897-2
Upstream
Related
Published
2023-08-14T10:38:30.414805Z
Modified
2025-10-13T04:35:26Z
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@1.6+dfsg-1ubuntu1.1+esm1?arch=source&distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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": [
                {
                    "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"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:14.04:LTS"
}