Debian DLA-2929-1 : ujson - LTS security update

medium Nessus Plugin ID 158510

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-2929 advisory.

- UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation. (CVE-2021-45958)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the ujson packages.

For Debian 9 stretch, this problem has been fixed in version 1.35-1+deb9u1.

See Also

https://security-tracker.debian.org/tracker/source-package/ujson

https://www.debian.org/lts/security/2022/dla-2929

https://security-tracker.debian.org/tracker/CVE-2021-45958

https://packages.debian.org/source/stretch/ujson

Plugin Details

Severity: Medium

ID: 158510

File Name: debian_DLA-2929.nasl

Version: 1.3

Type: local

Agent: unix

Published: 3/2/2022

Updated: 11/7/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-45958

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-ujson, p-cpe:/a:debian:debian_linux:python-ujson-dbg, p-cpe:/a:debian:debian_linux:python3-ujson, p-cpe:/a:debian:debian_linux:python3-ujson-dbg, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/1/2022

Vulnerability Publication Date: 1/1/2022

Reference Information

CVE: CVE-2021-45958