Affected versions
Ubuntu18.04:LTS/ruby2.5
- Affected versions
- <2.5.1-1ubuntu1.11
- Fixed version
- 2.5.1-1ubuntu1.11
Ubuntu20.04:LTS/ruby2.7
- Affected versions
- <2.7.0-5ubuntu1.6
- Fixed version
- 2.7.0-5ubuntu1.6
Ubuntu22.04:LTS/ruby3.0
- Affected versions
- <3.0.2-7ubuntu2
- Fixed version
- 3.0.2-7ubuntu2
UbuntuPro:16.04:LTS/ruby2.3
- Affected versions
- <2.3.1-2~ubuntu16.04.16+esm2
- Fixed version
- 2.3.1-2~ubuntu16.04.16+esm2
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.
Links
- https://github.com/ruby/cgi/commit/052eb3a828b0f99bca39cfd800f6c2b91307dbd5
- https://ubuntu.com/security/CVE-2021-41819
- https://ubuntu.com/security/notices/USN-5235-1
- https://www.cve.org/CVERecord?id=CVE-2021-41819
- https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/

