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.