Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:json | >= 2.18.0, < 2.18.2 | 2.18.2 |
| rubygems:json | >= 2.19.0, < 2.19.3 | 2.19.3 |
Parsing invalid JSON with the allow_control_characters: true option enabled can result in an out of bound write, potentially corrupting the heap, but more likely a VM crash. Details If an ASCI control character is preceded by a backslash, the bound checks can be defeated. Originally fixed as a regular bug in json 1.9.3. Proof of concept The issue can easily be reproduced with a backslash followed by a control character. Some padding is required. ruby require "json" doc = '"' + ("A" 4096) + "\\\…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/02 06:15、GitHub Advisory Databaseが「Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Ruby。CVE: CVE-2026-141523。