همهٔ گزارش‌ها
زیاد

Jawn: Quadratic parsing effort in AsyncParser

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
<= 1.6.0
نسخهٔ اصلاح‌شده
1.7.0
نسخه‌های متأثر
<= 1.6.0
نسخهٔ اصلاح‌شده
1.7.0
نسخه‌های متأثر
<= 1.6.0
نسخهٔ اصلاح‌شده
1.7.0

بهره‌برداری

CVE-2026-61814

احتمال بهره‌برداری در ۳۰ روز آینده: 0.75%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

AsyncParser can be forced to perform O(n^2) work on the length of the input. When a single JSON token arrives across many small chunks, each absorb call rescans the incomplete token from the start.

Impact

Denial of service via CPU exhaustion when parsing untrusted JSON.

Preconditions:

  • Application uses AsyncParser

  • Attacker can send large tokens with control over chunk sizes.

Patches

Fixed in jawn-parser-1.7.0.

Workarounds

If you can't upgrade immediately:

  • Use the synchronous Parser.

  • Buffer incoming bytes into larger chunks before calling absorb

پیوندها

گزارش‌دهندگان

  • rossabaker
  • samspills