{
  "schema_version": "1.4.0",
  "id": "GHSA-jrwr-5x3p-hvc3",
  "modified": "2024-09-30T16:57:59Z",
  "published": "2023-02-23T00:30:40Z",
  "aliases": [
    "CVE-2023-26302"
  ],
  "summary": "markdown-it-py Denial of Service vulnerability in the command line interface",
  "details": "Denial of service could be caused to the command line interface of markdown-it-py, before v2.2.0, if an attacker was allowed to use invalid UTF-8 characters as input.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "markdown-it-py"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26302"
    },
    {
      "type": "WEB",
      "url": "https://github.com/executablebooks/markdown-it-py/pull/247"
    },
    {
      "type": "WEB",
      "url": "https://github.com/executablebooks/markdown-it-py/commit/53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/executablebooks/markdown-it-py"
    },
    {
      "type": "WEB",
      "url": "https://github.com/executablebooks/markdown-it-py/releases/tag/v2.2.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/markdown-it-py/PYSEC-2023-23.yaml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-173"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-23T19:40:54Z",
    "nvd_published_at": "2023-02-22T23:15:00Z"
  }
}