Improper Input Validation Affecting cgi package, versions <0.1.0.2 >=0.2.1, <0.2.2 >=0.3.3, <0.3.5
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.52% (78th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-CGI-3136296
- published 20 Nov 2022
- disclosed 20 Nov 2022
- credit Hiroshi Tokumaru
Introduced: 20 Nov 2022
CVE-2021-33621 Open this link in a new tabHow to fix?
Upgrade cgi
to version 0.1.0.2, 0.2.2, 0.3.5 or higher.
Overview
cgi is a Support for the Common Gateway Interface protocol.
Affected versions of this package are vulnerable to Improper Input Validation due to improper validation of CGI::Cookie
content, which allows an attacker to inject invalid attributes in the Set-Cookie
header and insert a newline character to split the header, and inject malicious content to deceive clients.
References
CVSS Scores
version 3.1