
Cloud Vulnerability DB
A community-led vulnerabilities database
A GraphQL document containing many \u{ prefixes in one quoted string forces the lexer to search the remaining input for } at each prefix. Failed escapes do not stop lexing.
The braced Unicode escape helper searches for a closing brace across the entire remaining source before validating that the escape begins with valid hex digits. The lexer calls this helper for every \u{ in a string, records an invalid escape, and continues scanning. Token limits apply per string token, not per escape or scanned byte. The braced Unicode escape parser performs an unbounded search of the full suffix, and the lexer continues after a failed escape, allowing many such searches in one string token.
Parse braced Unicode escapes incrementally, stopping at the first non-hex character and requiring a closing brace without searching the remaining suffix. Preserve accepted long leading-zero forms and numeric overflow checks. Enforce a request byte limit at the service boundary. Finding ID: csf_dd82ac858afc54e32ba5c52e Primary fingerprint: codex-security/v1:sha256:f40e133882299fe666876317511713f7973386c53befe2c1d5f4a92d97932a54 Source revision: c70a100fae8068a9dd3dd5a76608adf2d6d9f2ca
For a document with one quoted string containing n repeated \u{ prefixes and no closing brace, each prefix reaches unicode_escape; find('}') scans a suffix of length proportional to the remaining input, returns None, and the lexer continues. Summing those suffix lengths yields O(n²) work before rejection. parse_request makes the path reachable from a client document. A string with many \u{ sequences and no } causes each input.find('}') to traverse the remaining suffix. The failed escape path returns to State::StringLiteral and reaches each later sequence. The total traversed suffix lengths form a quadratic series.
Inspect the linked paths at commit c70a100fae8068a9dd3dd5a76608adf2d6d9f2ca. This scan did not execute an exploit or test a deployed service.
One moderate-size request can consume much more CPU than its size implies.
Prerequisites: The runtime invokes Document::parse on request.document before execution. A public endpoint permits an unauthenticated client; other deployments require whatever access the application imposes. Reachable before request validation whenever a deployed endpoint parses client query text with the default lexer.
Validation limits: No runtime timing benchmark was executed. An application may set body-size, URI-size, or rate limits; their effective values at an external deployment are unknown. No runtime timing or request load test was executed. No measured parser timing or deployed request-size/rate configuration was available.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."