logo

CVE-2021-41819 cgi

Package

Manager: gem
Name: cgi
Vulnerable Version: =0.3.0 || >=0.3.0 <0.3.1 || =0.2.0 || >=0.2.0 <0.2.1 || >=0 <0.1.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00566 pctl0.675

Details

Cookie Prefix Spoofing in CGI::Cookie.parse CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem prior to versions 0.3.1, 0.2.1, 0.1.1, and 0.1.0.1 for Ruby.

Metadata

Created: 2022-01-21T23:22:17Z
Modified: 2023-08-29T16:46:42Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-4vf4-qmvg-mh7h/GHSA-4vf4-qmvg-mh7h.json
CWE IDs: ["CWE-565"]
Alternative ID: GHSA-4vf4-qmvg-mh7h
Finding: F042
Auto approve: 1