Known vulnerabilities and malicious package reports for cgi on RubyGems, live from OSV, with CISA KEV exploitation status and EPSS scores.
Known package reports
0 malicious package reports and 5 vulnerabilities returned by OSV. Check a specific version to see which reports apply.
Buffer overrun in CGI.escape_html
Published .
Updated .
Reported affected releases: 0.3.0, 0.2.0, 0.1.0.
Affected ranges: introduced 0.3.0, fixed 0.3.1; introduced 0.2.0, fixed 0.2.1; introduced 0, fixed 0.1.0.1.
Fix versions reported by the advisory: 0.3.1, 0.2.1, 0.1.0.1.
Severity: CRITICAL.
CVE-2021-41816
Cookie Prefix Spoofing in CGI::Cookie.parse
Published .
Updated .
Reported affected releases: 0.3.0, 0.2.0, 0.1.0.
Affected ranges: introduced 0.3.0, fixed 0.3.1; introduced 0.2.0, fixed 0.2.1; introduced 0, fixed 0.1.0.1.
Fix versions reported by the advisory: 0.3.1, 0.2.1, 0.1.0.1.
Severity: HIGH.
CVE-2021-41819
HTTP response splitting in CGI
Published .
Updated .
Reported affected releases: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.2.0, 0.2.1, 0.1.0, 0.1.0.1.
Affected ranges: introduced 0.3.0, fixed 0.3.5; introduced 0.2.0, fixed 0.2.2; introduced 0, fixed 0.1.0.2.
Fix versions reported by the advisory: 0.3.5, 0.2.2, 0.1.0.2.
Severity: HIGH.
CVE-2021-33621
CGI has Denial of Service (DoS) potential in Cookie.parse
Published .
Updated .
Reported affected releases: 0.1.0, 0.1.0.1, 0.1.0.2, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.4.2.beta1, 0.4.2.beta2.
Affected ranges: introduced 0, fixed 0.3.5.1; introduced 0.3.6, fixed 0.3.7; introduced 0.4.0, fixed 0.4.2.
Fix versions reported by the advisory: 0.3.5.1, 0.3.7, 0.4.2.
Severity: HIGH.
CVE-2025-27219
CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
Published .
Updated .
Reported affected releases: 0.1.0, 0.1.0.1, 0.1.0.2, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.4.2.beta1, 0.4.2.beta2.
Affected ranges: introduced 0, fixed 0.3.5.1; introduced 0.3.6, fixed 0.3.7; introduced 0.4.0, fixed 0.4.2.
Fix versions reported by the advisory: 0.3.5.1, 0.3.7, 0.4.2.
Severity: HIGH.
CVE-2025-27220
Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.