Severity
7.5HIGHNVD
NVD5.3CNA4.3GHSA5.3OSV8.6OSV5.9OSV5.3
EPSS
1.1%
top 22.26%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 19
Latest updateJan 27

Description

A reliance on cookies without validation/integrity check security vulnerability exists in rack < 2.2.3, rack < 2.1.4 that makes it is possible for an attacker to forge a secure or host-only cookie prefix.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages8 packages

RubyGemsrack/rack2.2.02.2.3+1
NVDrack_project/rack2.2.02.2.3+1
CVEListV5https/github.com_rack_rackrack >= 2.2.3, rack >= 2.1.4
NVDphp/php7.2.07.2.34+2
Packagistreact/http0.7.01.7.0

Also affects: Debian Linux 10.0, 9.0, Fedora 31, 32, 33, Ubuntu Linux 12.04, 14.04, 16.04, 18.04, 20.04

Patches

🔴Vulnerability Details

12
OSV
ruby-rack vulnerabilities2022-12-13
GHSA
ReactPHP's HTTP server parses encoded cookie names so malicious `__Host-` and `__Secure-` cookies can be sent2022-09-16
OSV
ReactPHP's HTTP server parses encoded cookie names so malicious `__Host-` and `__Secure-` cookies can be sent2022-09-16
GHSA
GHSA-j7r5-hm2w-qqf9: In PHP versions 72022-05-24
OSV
ruby-rack vulnerabilities2021-04-06

📋Vendor Advisories

8
CISA ICS
Festo Didactic SE MES PC2026-01-27
Ubuntu
Rack vulnerabilities2022-12-13
Ubuntu
Rack vulnerabilities2021-04-06
Ubuntu
Rack vulnerabilities2020-09-30
Red Hat
rubygem-rack: percent-encoded cookies can be used to overwrite existing prefixed cookie names2020-06-15

💬Community

6
HackerOne
Ruby CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse2022-02-03
Bugzilla
CVE-2021-41819 ruby: Cookie prefix spoofing in CGI::Cookie.parse2021-11-25
Bugzilla
CVE-2020-7070 php: URL decoding of cookie names can lead to different interpretation of cookies between browser and server2020-10-06
Bugzilla
CVE-2020-8184 rubygem-rack: percent-encoded cookies can be used to overwrite existing prefixed cookie names [epel-all]2020-06-19
Bugzilla
CVE-2020-8184 rubygem-rack: percent-encoded cookies can be used to overwrite existing prefixed cookie names [fedora-all]2020-06-19
CVE-2020-8184 — Rack Project Rack vulnerability | cvebase