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
Access Vector Network Local
Access 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 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
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 Linux Enterprise Storage 7.1
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 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
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.

Product(s) Source package State
HPE Helion OpenStack 8 python-ujson Won't fix
SUSE CaaS Platform 4.0 python-ujson In progress
SUSE Enterprise Storage 6 python-ujson In progress
SUSE Enterprise Storage 7 python-ujson In progress
SUSE Linux Enterprise Desktop 15 SP3 python-ujson Released
SUSE Linux Enterprise Desktop 15 SP4 python-ujson Released
SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS python-ujson In progress
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS python-ujson In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 ESPOS python-ujson In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS python-ujson In progress
SUSE Linux Enterprise High Performance Computing 15 SP3 python-ujson Released
SUSE Linux Enterprise High Performance Computing 15 SP4 python-ujson Released
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 SP1 LTSS python-ujson In progress
SUSE Linux Enterprise Server 15 SP2 LTSS python-ujson In progress
SUSE Linux Enterprise Server 15 SP3 python-ujson Released
SUSE Linux Enterprise Server 15 SP4 python-ujson Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 python-ujson In progress
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 python-ujson In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-ujson In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-ujson In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-ujson Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-ujson Released
SUSE Linux Enterprise Storage 7.1 python-ujson Released
SUSE Manager Proxy 4.1 python-ujson In progress
SUSE Manager Proxy 4.2 python-ujson Released
SUSE Manager Proxy 4.3 python-ujson Released
SUSE Manager Retail Branch Server 4.1 python-ujson In progress
SUSE Manager Retail Branch Server 4.2 python-ujson Released
SUSE Manager Retail Branch Server 4.3 python-ujson Released
SUSE Manager Server 4.1 python-ujson In progress
SUSE Manager Server 4.2 python-ujson Released
SUSE Manager Server 4.3 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 Package Hub 15 SP3 python-ujson Released
SUSE Package Hub 15 SP4 python-ujson Released