NVD Vulnerability Detail
Search Exploit, PoC
CVE-2021-41819
Summary

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.

Publication Date Jan. 1, 2022, 3:15 p.m.
Registration Date Jan. 2, 2022, 10 a.m.
Last Update Nov. 21, 2024, 3:26 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:N/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 3.0.0 3.0.3
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.7.0 2.7.5
cpe:2.3:a:ruby-lang:cgi:0.3.0:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.2.0:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.1.0:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.6.8
Configuration2 or higher or less more than less than
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:o:suse:linux_enterprise:12.0:*:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise:15.0:*:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise:11.0:sp1:*:*:*:*:*:*
Configuration5 or higher or less more than less than
cpe:2.3:a:opensuse:factory:-:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
Configuration6 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Ruby および Ruby 用 CGI gem における検証および完全性チェックを行っていない Cookie への依存に関する脆弱性
Title Ruby および Ruby 用 CGI gem における検証および完全性チェックを行っていない Cookie への依存に関する脆弱性
Summary

Ruby および Ruby 用 CGI gem には、検証および完全性チェックを行っていない Cookie への依存に関する脆弱性が存在します。

Possible impacts 情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Nov. 24, 2021, midnight
Registration Date Jan. 19, 2023, 2:47 p.m.
Last Update Jan. 19, 2023, 2:47 p.m.
Affected System
レッドハット
Red Hat Enterprise Linux 
Red Hat Software Collections 
Ruby-lang.org
CGI 0.3.0 まで
Ruby 2.6.8 まで
Debian
Debian GNU/Linux 
Fedora Project
Fedora 
SUSE
SUSE Linux Enterprise 
openSUSE project
Factory 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2023年01月19日]
  掲載
Jan. 19, 2023, 2:47 p.m.