pysec-2022-25
Vulnerability from pysec
Published
2022-01-01 00:15
Modified
2022-02-07 23:29
Details

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.




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "ujson",
        "purl": "pkg:pypi/ujson"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.2"
            },
            {
              "fixed": "5.1.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.0.2",
        "4.1.0",
        "4.2.0",
        "4.3.0",
        "5.0.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2021-45958",
    "GHSA-fh56-85cw-5pq6"
  ],
  "details": "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.",
  "id": "PYSEC-2022-25",
  "modified": "2022-02-07T23:29:33.363244Z",
  "published": "2022-01-01T00:15:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml"
    },
    {
      "type": "WEB",
      "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ultrajson/ultrajson/issues/501"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-fh56-85cw-5pq6"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.