Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2022-31117

Published: 5 July 2022

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.

Notes

AuthorNote
ccdm94
the embedded ujson code in pandas, eventhough containing similar
content as the upstream ujson code, seems to have diverged from the
ujson upstream project (they have fully forked ujson), since pandas
upstream is maintaining their own ujson bug fixes and changes without
re-syncing with the ujson upstream project. There is no indication
the ujson fork, as used in pandas, is vulnerable to the same issues
as the upstream ujson code.

Priority

Medium

Cvss 3 Severity Score

5.9

Score breakdown

Status

Package Release Status
collada2gltf
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Does not exist

impish Ignored
(end of life)
jammy Needs triage

kinetic Ignored
(end of life, was needs-triage)
lunar Ignored
(end of life, was needs-triage)
mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Needs triage

pandas
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

impish Ignored
(end of life)
jammy Needs triage

kinetic Ignored
(end of life, was needs-triage)
lunar Ignored
(end of life, was needs-triage)
mantic Needs triage

trusty Needs triage

upstream Needed

xenial Needs triage

ujson
Launchpad, Ubuntu, Debian
bionic
Released (1.35-2ubuntu0.1~esm1)
Available with Ubuntu Pro
focal
Released (1.35-4ubuntu0.1+esm1)
Available with Ubuntu Pro
impish Ignored
(end of life)
jammy
Released (5.1.0-1ubuntu0.1~esm1)
Available with Ubuntu Pro
kinetic Ignored
(end of life, was needs-triage)
lunar Not vulnerable
(5.4.0-1)
mantic Not vulnerable
(5.4.0-1)
trusty Does not exist

upstream
Released (5.4.0)
xenial
Released (1.33-1ubuntu0.1~esm2)
Available with Ubuntu Pro
Patches:
upstream: https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b

Severity score breakdown

Parameter Value
Base score 5.9
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H