NVD Vulnerability Detail
Search Exploit, PoC
CVE-2020-5247
Summary

In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. `CR`, `LF` or`/r`, `/n`) to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.

Publication Date Feb. 29, 2020, 2:15 a.m.
Registration Date Jan. 26, 2021, 11:59 a.m.
Last Update Nov. 21, 2024, 2:33 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:*:*:*:*:*:*:*:* 2.6.0 2.6.4
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.5.0 2.5.6
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.4.0 2.4.7
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.3.0
cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* 4.0.0 4.3.2
cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* 3.12.3
cpe:2.3:a:ruby-lang:ruby:2.7.0:preview1:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Puma におけるインジェクションに関する脆弱性
Title Puma におけるインジェクションに関する脆弱性
Summary

Puma (RubyGem) には、インジェクションに関する脆弱性が存在します。 本脆弱性は、CVE-2019-16254 と関連する脆弱性です。

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

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

Publication Date Feb. 28, 2020, midnight
Registration Date March 13, 2020, 11:07 a.m.
Last Update March 13, 2020, 11:07 a.m.
Affected System
Puma
puma 3.12.3 未満
puma 4.3.2 未満
Ruby-lang.org
Ruby 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2020年03月13日]
  掲載
March 13, 2020, 11:07 a.m.