{
  "threat_severity" : "Moderate",
  "public_date" : "2022-07-02T00:00:00Z",
  "bugzilla" : {
    "description" : "python-ujson: improper decoding of escaped surrogate characters may lead to string corruption, key confusion or value overwriting",
    "id" : "2104740",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2104740"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-228",
  "details" : [ "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue." ],
  "affected_release" : [ {
    "product_name" : "Red Hat OpenStack Platform 16.1",
    "release_date" : "2022-12-07T00:00:00Z",
    "advisory" : "RHSA-2022:8864",
    "cpe" : "cpe:/a:redhat:openstack:16.1::el8",
    "package" : "python-ujson-0:2.0.3-3.el8ost"
  }, {
    "product_name" : "Red Hat OpenStack Platform 16.2",
    "release_date" : "2022-12-07T00:00:00Z",
    "advisory" : "RHSA-2022:8850",
    "cpe" : "cpe:/a:redhat:openstack:16.2::el8",
    "package" : "python-ujson-0:2.0.3-3.el8ost"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat OpenStack Platform 13 (Queens)",
    "fix_state" : "Out of support scope",
    "package_name" : "python-ujson",
    "cpe" : "cpe:/a:redhat:openstack:13"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-31116\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-31116\nhttps://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" ],
  "name" : "CVE-2022-31116",
  "csaw" : false
}