Description
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
Published: 2022-01-01
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2853-1 ruby2.3 security update
Debian DSA Debian DSA DSA-5066-1 ruby2.5 security update
Debian DSA Debian DSA DSA-5067-1 ruby2.7 security update
Github GHSA Github GHSA GHSA-4vf4-qmvg-mh7h Cookie Prefix Spoofing in CGI::Cookie.parse
Ubuntu USN Ubuntu USN USN-5235-1 Ruby vulnerabilities
History

Thu, 22 May 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Opensuse Factory Leap
Redhat Enterprise Linux Rhel E4s Rhel Eus Rhel Software Collections Software Collections
Ruby-lang Cgi Ruby
Suse Linux Enterprise
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-05-22T15:00:52.998Z

Reserved: 2021-09-29T00:00:00.000Z

Link: CVE-2021-41819

cve-icon Vulnrichment

Updated: 2024-08-04T03:22:24.942Z

cve-icon NVD

Status : Modified

Published: 2022-01-01T06:15:07.293

Modified: 2025-05-22T15:15:54.060

Link: CVE-2021-41819

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-11-24T00:00:00Z

Links: CVE-2021-41819 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses