POJIA破甲
地图 / ReDoS in Time.rfc2822

ReDoS in Time.rfc2822

拒绝服务 / Unlabeled / #1485501

厂商
Ruby
严重程度
未评级
赏金
—
弱点
Unlabeled
研究员
@ooooooo_q
披露日期
2023-05-16
资产
https://github.com/ruby/ruby
CVE
CVE-2023-28756

该报告还没有中文解读。

原文摘录

摘自原文(2861 字符中的一小部分)
Hello, I found a pattern that occur ReDoS in `Time.rfc2822` (and `Time.rfc822`).
原文中的代码
    def rfc2822(date)
      if /\A\s*
          (?:(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)\s*,\s*)?
          (\d{1,2})\s+
          (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+
          (\d{2,})\s+
          (\d{2})\s*
          :\s*(\d{2})\s*
          (?::\s*(\d{2}))?\s+
          ([+-]\d{4}| …

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

时间线

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

同类报告

Circular based introspetion Query leading to single request denial of service and cost consumption and query cost on api.sorare.com/graphqlSorare · 2024-10-17ReDoS Vulnerability in HTTP Accept Headers ParsingInternet Bug Bounty · 2024-10-30 · $2,642ReDoS in IPAddrRuby · 2025-07-08ReDoS in PsychRuby · 2025-07-08Unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustionNode.js · 2026-02-23ASGIRequest header concatenation quadratic CPU DoS on Django via repeated headers leads to worker exhaustionDjango · 2026-02-09