Upstream information

CVE-2022-31116 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 5.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L
Attack Vector Network Local
Attack Complexity Low High
Privileges Required None None
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact None Low
Integrity Impact None High
Availability Impact High Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1201255 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Development Tools 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • python3-ujson >= 1.35-150100.3.5.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP3-2022-2673
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Development Tools 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • python3-ujson >= 1.35-150100.3.5.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP4-2022-2673
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Development Tools 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python3-ujson >= 1.35-150100.3.5.1
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 SP5 GA python-ujson-1.35-150100.3.8.1
SUSE Linux Enterprise Module for Development Tools 15 SP5 GA python3-ujson-1.35-150100.3.8.1
SUSE Linux Enterprise Module for Package Hub 15 SP3
  • python2-ujson >= 1.35-150100.3.5.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2022-2673
SUSE Linux Enterprise Module for Package Hub 15 SP4
  • python2-ujson >= 1.35-150100.3.5.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2022-2673
SUSE Linux Enterprise Module for Package Hub 15 SP5
  • python2-ujson >= 1.35-150100.3.5.1
Patchnames:
SUSE Linux Enterprise Module for Package Hub 15 SP5 GA python-ujson-1.35-150100.3.8.1
openSUSE Leap 15.3
  • python2-ujson >= 1.35-150100.3.5.1
  • python3-ujson >= 1.35-150100.3.5.1
Patchnames:
openSUSE-SLE-15.3-2022-2673
openSUSE Leap 15.4
  • python3-ujson >= 1.35-150100.3.5.1
Patchnames:
openSUSE-SLE-15.4-2022-2673
openSUSE Tumbleweed
  • python310-ujson >= 5.4.0-1.1
  • python38-ujson >= 5.4.0-1.1
  • python39-ujson >= 5.4.0-1.1
Patchnames:
openSUSE Tumbleweed GA python310-ujson-5.4.0-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 python-ujson Released
SUSE Linux Enterprise Desktop 15 SP5 python-ujson Released
SUSE Linux Enterprise High Performance Computing 15 SP5 python-ujson Released
SUSE Linux Enterprise Module for Development Tools 15 SP5 python-ujson Released
SUSE Linux Enterprise Module for Package Hub 15 SP4 python-ujson Released
SUSE Linux Enterprise Module for Package Hub 15 SP5 python-ujson Released
SUSE Linux Enterprise Real Time 15 SP3 python-ujson Affected
SUSE Linux Enterprise Server 15 SP5 python-ujson Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-ujson Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-ujson Released
SUSE Manager Proxy 4.3 python-ujson Released
SUSE Manager Retail Branch Server 4.3 python-ujson Released
SUSE Manager Server 4.3 python-ujson Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 python-ujson Released
SUSE Linux Enterprise High Performance Computing 15 SP1 python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-ujson Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-ujson Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 python-ujson Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-ujson Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-ujson Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-ujson Affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 python-ujson Affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 python-ujson Released
SUSE Linux Enterprise Module for Development Tools 15 SP4 python-ujson Released
SUSE Linux Enterprise Server 15 SP2 python-ujson Affected
SUSE Linux Enterprise Server 15 SP2-LTSS python-ujson Affected
SUSE Linux Enterprise Server 15 SP3 python-ujson Released
SUSE Linux Enterprise Server 15 SP3-LTSS python-ujson Affected
SUSE Linux Enterprise Server 15 SP4 python-ujson Released
SUSE Linux Enterprise Server 15 SP4-LTSS python-ujson Affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 python-ujson Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 python-ujson Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-ujson Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-ujson Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-ujson Released
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 python-ujson Won't fix
SUSE CaaS Platform 4.0 python-ujson Affected
SUSE Enterprise Storage 6 python-ujson Affected
SUSE Enterprise Storage 7 python-ujson Affected
SUSE Linux Enterprise Desktop 15 SP1 python-ujson Affected
SUSE Linux Enterprise Desktop 15 SP2 python-ujson Affected
SUSE Linux Enterprise Desktop 15 SP3 python-ujson Released
SUSE Linux Enterprise Module for Development Tools 15 SP1 python-ujson Affected
SUSE Linux Enterprise Module for Package Hub 15 SP1 python-ujson Affected
SUSE Linux Enterprise Module for Package Hub 15 SP2 python-ujson Affected
SUSE Linux Enterprise Module for Package Hub 15 SP3 python-ujson Released
SUSE Linux Enterprise Real Time 15 SP2 python-ujson Affected
SUSE Linux Enterprise Real Time 15 SP4 python-ujson Affected
SUSE Linux Enterprise Server 15 SP1 python-ujson Affected
SUSE Linux Enterprise Server 15 SP1-BCL python-ujson Affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-ujson Affected
SUSE Linux Enterprise Server 15 SP2-BCL python-ujson Affected
SUSE Linux Enterprise Server 15 SP3-BCL python-ujson Affected
SUSE Manager Proxy 4.0 python-ujson Affected
SUSE Manager Proxy 4.1 python-ujson Unsupported
SUSE Manager Proxy 4.2 python-ujson Released
SUSE Manager Retail Branch Server 4.0 python-ujson Affected
SUSE Manager Retail Branch Server 4.1 python-ujson Unsupported
SUSE Manager Retail Branch Server 4.2 python-ujson Released
SUSE Manager Server 4.0 python-ujson Affected
SUSE Manager Server 4.1 python-ujson Unsupported
SUSE Manager Server 4.2 python-ujson Released
SUSE OpenStack Cloud 8 python-ujson Won't fix
SUSE OpenStack Cloud 9 python-ujson Won't fix
SUSE OpenStack Cloud Crowbar 8 python-ujson Won't fix
SUSE OpenStack Cloud Crowbar 9 python-ujson Won't fix


SUSE Timeline for this CVE

CVE page created: Wed Jul 6 08:00:10 2022
CVE page last modified: Thu Feb 22 17:20:57 2024