CVE Vulnerabilities

CVE-2021-33621

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Nov 18, 2022 | Modified: Jan 24, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
Cgi Ruby-lang * 0.1.0.2 (excluding)
Cgi Ruby-lang 0.2.0 (including) 0.2.2 (excluding)
Cgi Ruby-lang 0.3.0 (including) 0.3.5 (excluding)

Potential Mitigations

References