Name | CVE-2021-22904 |
Description | The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 suffers from a possible denial of service vulnerability in the Token Authentication logic in Action Controller due to a too permissive regular expression. Impacted code uses `authenticate_or_request_with_http_token` or `authenticate_with_http_token` for request authentication. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2655-1, DSA-4929-1, ELA-425-1 |
Debian Bugs | 988214 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
rails (PTS) | jessie, jessie (lts) | 2:4.1.8-1+deb8u9 | fixed |
stretch (security), stretch (lts), stretch | 2:4.2.7.1-1+deb9u5 | fixed | |
buster (security), buster, buster (lts) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed | |
bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed | |
bookworm | 2:6.1.7.3+dfsg-2~deb12u1 | fixed | |
sid, trixie | 2:6.1.7.3+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
rails | source | jessie | 2:4.1.8-1+deb8u9 | ELA-425-1 | ||
rails | source | stretch | 2:4.2.7.1-1+deb9u5 | DLA-2655-1 | ||
rails | source | buster | 2:5.2.2.1+dfsg-1+deb10u3 | DSA-4929-1 | ||
rails | source | (unstable) | 2:6.0.3.7+dfsg-1 | 988214 |
https://github.com/rails/rails/commit/eab8c20f3ef6a022c4c11b439b1b22cef1768d5e (main)
https://github.com/rails/rails/commit/d861fa8ade353390c4419b53a6c6b41f3005b1f2 (v6.0.3.7)
https://github.com/rails/rails/commit/3d9e9fdf14e044b3ba66f909582c228a9d4ffb5c (v5.2.4.6)