CVE-2021-22904 - High Severity Vulnerability
Vulnerable Library - actionpack-4.1.0.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-4.1.0.gem
Dependency Hierarchy:
- rails-4.1.0.gem (Root Library)
- actionmailer-4.1.0.gem
- ❌ actionpack-4.1.0.gem (Vulnerable Library)
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
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: rubysec/ruby-advisory-db@691f9dc
Release Date: 2021-06-11
Fix Resolution: actionpack - 5.2.4.6,5.2.6,6.0.3.7,6.1.3.2
CVE-2021-22904 - High Severity Vulnerability
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-4.1.0.gem
Dependency Hierarchy:
Found in base branch: master
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_tokenorauthenticate_with_http_tokenfor request authentication.Publish Date: 2021-06-11
URL: CVE-2021-22904
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
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: rubysec/ruby-advisory-db@691f9dc
Release Date: 2021-06-11
Fix Resolution: actionpack - 5.2.4.6,5.2.6,6.0.3.7,6.1.3.2