p PatchFirst

CVE-2023-1370

CVE-2023-1370 · Stack exhaustion in json-smart leads to denial of service when parsing malformed JSON

This page contains facts from public vulnerability sources. Check the original advisory before updating.

[Json-smart](https://netplex.github.io/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.

CVSS 7.5 · High · EPSS 1.1% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • json-smart

    Versions
    • ≥ 0, < 2.4.9: Affected (maven)

    Update to 2.4.9

  • json-smart Debian:12

    Versions
    • 2.2-2
    Affected ranges
    • ECOSYSTEM: < 2.2-2+deb12u1

    Update to 2.2-2+deb12u1

  • json-smart Debian:13

    Affected ranges
    • ECOSYSTEM: < 2.2-3

    Update to 2.2-3

  • json-smart Debian:14

    Affected ranges
    • ECOSYSTEM: < 2.2-3

    Update to 2.2-3

  • json-smart Ubuntu:18.04:LTS

    Versions
    • 2.2-1
    • 2.2-2
    Affected ranges
    • ECOSYSTEM: < 2.2-2ubuntu0.18.04.1

    Update to 2.2-2ubuntu0.18.04.1

  • json-smart Ubuntu:20.04:LTS

    Versions
    • 2.2-2
    Affected ranges
    • ECOSYSTEM: < 2.2-2ubuntu0.20.04.1

    Update to 2.2-2ubuntu0.20.04.1

  • json-smart Ubuntu:22.04:LTS

    Versions
    • 2.2-2
    Affected ranges
    • ECOSYSTEM: < 2.2-2ubuntu0.22.04.1

    Update to 2.2-2ubuntu0.22.04.1

Original sources

Check your server →