Advisory

UBUNTU-CVE-2023-1370

Also known as: CVE-2023-1370

Summary

The record has no summary.

Details

Json-smart is a performance focused, JSON processor lib. When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively. It was discovered that the code does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause a stack exhaustion (stack overflow) and crash the software.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-03-22 06:15 UTC
Modified
2026-02-04 02:33 UTC

Affected packages and fixes

json-smart

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.2-2ubuntu0.18.04.1 (ecosystem)

Fixed versions

2.2-2ubuntu0.18.04.1

Fix

  • Fixed version 2.2-2ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

json-smart

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.2-2ubuntu0.20.04.1 (ecosystem)

Fixed versions

2.2-2ubuntu0.20.04.1

Fix

  • Fixed version 2.2-2ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

json-smart

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.2-2ubuntu0.22.04.1 (ecosystem)

Fixed versions

2.2-2ubuntu0.22.04.1

Fix

  • Fixed version 2.2-2ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences