{
  "cveId": "CVE-2021-45958",
  "url": "https://patchblox.com/security/cve/CVE-2021-45958",
  "summary": "CVE-2021-45958 is fixed in 3 products on 1 platform, first by python3-ujson 1.35-4ubuntu0.1, released December 31, 2021. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "ujson: UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from en...",
  "description": "UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.",
  "published": "2021-12-31T16:15:00Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
  "epss": 0.01667,
  "epssPercentile": 0.76885,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "python-ujson",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.35-2ubuntu0.1~esm1",
      "fix": "python-ujson 1.35-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-ujson-1.35-2ubuntu0.1-esm1",
      "released": "2022-07-05T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-ujson",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.35-2ubuntu0.1~esm1",
      "fix": "python3-ujson 1.35-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-ujson-1.35-2ubuntu0.1-esm1",
      "released": "2022-07-05T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-ujson",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.35-4ubuntu0.1",
      "fix": "python3-ujson 1.35-4ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-ujson-1.35-4ubuntu0.1",
      "released": "2021-12-31T16:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-ujson",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "5.1.0-1ubuntu0.1~esm1",
      "fix": "python3-ujson 5.1.0-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-ujson-5.1.0-1ubuntu0.1-esm1",
      "released": "2022-07-05T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ujson",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.2.0-1",
      "fix": "DEBIAN-CVE-2021-45958",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-45958",
      "released": "2022-01-01T00:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ujson",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.2.0-1",
      "fix": "DEBIAN-CVE-2021-45958",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-45958",
      "released": "2022-01-01T00:15:08Z"
    },
    {
      "platform": "linux",
      "product": "ujson",
      "release": "Debian 14",
      "fixedVersion": "5.2.0-1",
      "fix": "DEBIAN-CVE-2021-45958",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-45958",
      "released": "2022-01-01T00:15:08Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}