Vulnerability DatabaseGHSA-rr69-rxr6-8qwf

GHSA-rr69-rxr6-8qwf
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-rr69-rxr6-8qwf) affects the serde-json-wasm Rust package, which was discovered to have a stack overflow vulnerability during recursive JSON parsing. The issue was identified and disclosed in January 2024, affecting versions up to 1.0.0 and versions before 0.5.2. This security flaw was assigned a High severity rating with a CVSS score of 7.5 (GitHub Advisory).

Technical details

The vulnerability occurs when parsing deeply nested JSON structures, where the recursive parsing mechanism could lead to a stack overflow condition. The issue stems from the lack of recursion depth checking in the JSON parsing implementation. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network vector attack possibility with low complexity and no required privileges or user interaction (GitHub Advisory).

Impact

The vulnerability can lead to Denial of Service (DoS) attacks when processing untrusted, deeply nested JSON data. The impact primarily affects the availability of systems processing JSON data with this package, while confidentiality and integrity remain unaffected (GitHub Advisory, RustSec Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 1.0.1 and 0.5.2 by implementing a recursion depth limit check. Users should upgrade to these patched versions: either version 1.0.1 or version 0.5.2 depending on their current version (GitHub Advisory, RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management