CVE-2021-22904 (High) detected in actionpack-5.2.4.4.gem - autoclosed
mend-for-github-com opened this issue · comments
CVE-2021-22904 - High Severity Vulnerability
Vulnerable Library - actionpack-5.2.4.4.gem
Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.
Library home page: https://rubygems.org/gems/actionpack-5.2.4.4.gem
Dependency Hierarchy:
- i18n-tasks-0.9.33.gem (Root Library)
- rails-i18n-5.1.3.gem
- railties-5.2.4.4.gem
- ❌ actionpack-5.2.4.4.gem (Vulnerable Library)
- railties-5.2.4.4.gem
- rails-i18n-5.1.3.gem
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2021-06-11
URL: CVE-2021-22904
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: rubysec/ruby-advisory-db@691f9dc
Release Date: 2021-01-07
Fix Resolution: actionpack - 5.2.4.6,5.2.6,6.0.3.7,6.1.3.2
✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.