GHSA-34cw-x8g7-rcv5
Mở trang đầy đủCVSS 7.5 HIGH
Stack overflow on deeply nested GraphQL documents
Mô tả
The parser of juniper called itself once for each level of nesting in a GraphQL document. The parser had no limit on the nesting depth. Deeply nested selection sets, input values, and list types thus overflowed the stack of the thread that parsed the document. Validation and execution followed fragment spreads in the same recursive way. Long chains of fragment spreads thus overflowed the stack in validation and execution.
A stack overflow aborts the whole process. One request can thus stop a server and drop all other requests in progress. The request needs no authentication.
juniper 0.17.2 rejects documents that nest deeper than 64 levels or contain more than 15,000 tokens. RootNode::limit_depth() and RootNode::limit_tokens() change the limits.
Điểm và phân loại
- CVSS
- 7.5 HIGH v3.1
- Nguồn điểm
- OSV.dev
- Mức độ (theo nguồn)
- HIGH
- EPSS
- —
- CWE
- —
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ảnh hưởng
| Package | Bản bị ảnh hưởng | Bản đã sửa |
|---|---|---|
rust juniper |
< 0.17.2 |
0.17.2
|
Vì sao bị lọc
- CVSS 7.5 < 8.0 và không thuộc CISA KEV
Loại tác động
Không nhận ra loại tác động nào từ CWE, vector hay mô tả.
Dữ liệu riêng của nguồn
- OSV.dev · ID
- RUSTSEC-2026-0416