CVE-2021-22904
HIGH7.5EPSS 3.3%Possible DoS Vulnerability in Action Controller Token Authentication
發布日:2021/5/5修改日:2026/4/28
描述
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.
受影響套件(2)
- Debian/railsfrom 0, < 2:6.0.3.7+dfsg-1
- RubyGems/actionpack>= 6.0.0, < 6.0.3.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-22904
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-22904
- PATCHhttps://github.com/rails/rails
- WEBhttps://discuss.rubyonrails.org/t/cve-2021-22904-possible-dos-vulnerability-in-action-controller-token-authentication/77869
- WEBhttps://github.com/rails/rails/releases/tag/v5.2.4.6
- WEBhttps://github.com/rails/rails/releases/tag/v5.2.6
- WEBhttps://github.com/rails/rails/releases/tag/v6.0.3.7
- WEBhttps://github.com/rails/rails/releases/tag/v6.1.3.2
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22904.yml
- WEBhttps://groups.google.com/g/rubyonrails-security/c/Pf1TjkOBdyQ
- WEBhttps://hackerone.com/reports/1101125
- WEBhttps://security.netapp.com/advisory/ntap-20210805-0009