NVD Vulnerability Detail
Search Exploit, PoC
CVE-2023-22795
Summary

A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

Publication Date Feb. 10, 2023, 5:15 a.m.
Registration Date Feb. 10, 2023, 10 a.m.
Last Update Nov. 21, 2024, 4:45 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 6.1.7.1
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 7.0.0 7.0.4.1
execution environment
1 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Rails における非効率的な正規表現の複雑さに関する脆弱性
Title Rails における非効率的な正規表現の複雑さに関する脆弱性
Summary

Rails には、非効率的な正規表現の複雑さに関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。 
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Jan. 18, 2023, midnight
Registration Date Sept. 8, 2023, 4:46 p.m.
Last Update Sept. 8, 2023, 4:46 p.m.
Affected System
Debian
Debian GNU/Linux 
Ruby on Rails project
Rails 6.1.7.1 未満
Rails 7.0.4.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2023年09月07日]   掲載 Sept. 7, 2023, 6:36 p.m.