Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. serde-json-wasm
  4. ›
  5. GHSA-rr69-rxr6-8qwf

GHSA-rr69-rxr6-8qwf: serde-json-wasm stack overflow during recursive JSON parsing

February 9, 2024

When parsing untrusted, deeply nested JSON, the stack may overflow, possibly enabling a Denial of Service attack. This was fixed by adding a check for recursion depth.

References

  • github.com/CosmWasm/serde-json-wasm
  • github.com/CosmWasm/serde-json-wasm/commit/a9a9b9bf243862bd2afbf6853fca97f30dc4f620
  • github.com/CosmWasm/serde-json-wasm/commit/e78f9e28b3a2151d3175ee88ab2a001bf9515429
  • github.com/advisories/GHSA-rr69-rxr6-8qwf
  • rustsec.org/advisories/RUSTSEC-2024-0012.html

Code Behaviors & Features

Detect and mitigate GHSA-rr69-rxr6-8qwf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.2, all versions starting from 1.0.0 before 1.0.1, version 1.0.0

Fixed versions

  • 1.0.1
  • 0.5.2

Solution

Upgrade to versions 0.5.2, 1.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

cargo/serde-json-wasm/GHSA-rr69-rxr6-8qwf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.