Rapid7 Vulnerability & Exploit Database

CentOS Linux: CVE-2022-31116: Moderate: Red Hat OpenStack Platform 16.2.4 (python-ujson) security update (CESA-2022:8850)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

CentOS Linux: CVE-2022-31116: Moderate: Red Hat OpenStack Platform 16.2.4 (python-ujson) security update (CESA-2022:8850)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
07/05/2022
Created
12/10/2022
Added
12/09/2022
Modified
05/25/2023

Description

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.

Solution(s)

  • centos-upgrade-python-ujson-debugsource
  • centos-upgrade-python3-ujson
  • centos-upgrade-python3-ujson-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;