HIGH 7.5 RubyGems

Cookie Prefix Spoofing in CGI::Cookie.parse

GHSA-4vf4-qmvg-mh7h · BIT-ruby-2021-41819 · BIT-ruby-min-2021-41819 · CVE-2021-41819

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes