USN-4897-2 (UBUNTU-CVE-2021-20270)

Vulnerability from osv_ubuntu – Published: 2023-08-14 10:38 – Updated: 2026-11-24 09:37 – Source website
VLAI
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)


{
  "affected": [
    {
      "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",
                  "source": "NVD",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "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",
                  "source": "NVD",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:14.04:LTS"
        }
      },
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "pygments",
        "purl": "pkg:deb/ubuntu/pygments@1.6+dfsg-1ubuntu1.1+esm1?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6+dfsg-1ubuntu1.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6+dfsg-1",
        "1.6+dfsg-1build1",
        "1.6+dfsg-1ubuntu1",
        "1.6+dfsg-1ubuntu1.1"
      ]
    }
  ],
  "aliases": [],
  "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",
  "id": "USN-4897-2",
  "modified": "2026-11-24T09:37:14Z",
  "published": "2023-08-14T10:38:30Z",
  "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"
    }
  ],
  "related": [],
  "schema_version": "1.9.2",
  "summary": "pygments vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2021-20270",
    "UBUNTU-CVE-2021-27291"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…