cbcvebase.
CVE-2023-22795
published 2023-02-09

CVE-2023-22795: 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…

high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
actionpack_projectactionpack>= 4.0.0.beta1 < 6.1.7.16.1.7.1
actionpack_projectactionpack>= 7.0.0 < 7.0.4.17.0.4.1
debiandebian_linux
debianrails< rails 2:6.1.7.3+dfsg-1 (bookworm)rails 2:6.1.7.3+dfsg-1 (bookworm)
httpsgithub.com_rails_rails
msrccbl2_ruby_3.1.4-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
msrccm1_ruby_2.6.10-1_on_cbl_mariner_1.0
rubyonrailsrails< 6.1.7.16.1.7.1
rubyonrailsrails>= 0 < 2:6.0.3.7+dfsg-2+deb11u12:6.0.3.7+dfsg-2+deb11u1
rubyonrailsrails>= 0 < 2:6.1.7.3+dfsg-12:6.1.7.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.1.7.3+dfsg-12:6.1.7.3+dfsg-1
rubyonrailsrails>= 0 < 2:6.1.7.3+dfsg-12:6.1.7.3+dfsg-1
rubyonrailsrails>= 7.0.0 < 7.0.4.17.0.4.1

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
ghsa7.5HIGH
osv7.5HIGH