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.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "5.2.4.6"
},
{
"introduced": "5.2.5"
},
{
"fixed": "5.2.6"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.3.7"
},
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.3.2"
}
]
}