openEuler Security Advisory
OESA-2024-1146
rubygem-actionpack security update
Details
Eases web-request routing, handling, and response as a half-way front, half-way page controller. Implemented with specific emphasis on enabling easy unit/integration testing that doesn't require a browser.
Security Fix(es):
A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. 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.(CVE-2023-22792)
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.(CVE-2023-22795)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | rubygem-actionpack | All versions before 5.2.4.4-4.oe1 (fixed in 5.2.4.4-4.oe1) |
| openEuler:20.03-LTS-SP4 | rubygem-actionpack | All versions before 5.2.4.4-4.oe2003sp4 (fixed in 5.2.4.4-4.oe2003sp4) |
| openEuler:22.03-LTS | rubygem-actionpack | All versions before 6.1.4.1-4.oe2203sp3 (fixed in 6.1.4.1-4.oe2203sp3) |
| openEuler:22.03-LTS-SP1 | rubygem-actionpack | All versions before 6.1.4.1-4.oe2203sp1 (fixed in 6.1.4.1-4.oe2203sp1) |
| openEuler:22.03-LTS-SP2 | rubygem-actionpack | All versions before 6.1.4.1-4.oe2203sp2 (fixed in 6.1.4.1-4.oe2203sp2) |
| openEuler:22.03-LTS-SP3 | rubygem-actionpack | All versions before 6.1.4.1-4.oe2203sp3 (fixed in 6.1.4.1-4.oe2203sp3) |