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

The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input.

Publication Date Feb. 12, 2021, 3:15 a.m.
Registration Date Feb. 12, 2021, 10:02 a.m.
Last Update Nov. 21, 2024, 2:50 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
攻撃元区分(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:rubyonrails:rails:*:*:*:*:*:*:*:* 6.1.0 6.1.2.1
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 6.0.0 6.0.3.5
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 4.2.0 5.2.4.5
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Active Record におけるリソースの枯渇に関する脆弱性
Title Active Record におけるリソースの枯渇に関する脆弱性
Summary

Active Record には、リソースの枯渇に関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

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

Publication Date Feb. 10, 2021, midnight
Registration Date Nov. 4, 2021, 3:05 p.m.
Last Update Nov. 4, 2021, 3:05 p.m.
Affected System
Fedora Project
Fedora 
Ruby on Rails project
Rails 5.2.4.5 未満
Rails 6.0.3.5 未満
Rails 6.1.2.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2021年11月04日]
  掲載
Nov. 4, 2021, 3:05 p.m.