NVD Vulnerability Detail
Search Exploit, PoC
CVE-2012-5195
Summary

Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator.

Publication Date Dec. 18, 2012, 9:55 a.m.
Registration Date Jan. 28, 2021, 3:05 p.m.
Last Update Nov. 21, 2024, 10:44 a.m.
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/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:perl:perl:5.14.1:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:rc1:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:rc4:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.4:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:rc3:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.1:rc1:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.14.0:rc2:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.3:rc3:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.3:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.1:rc2:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:rc2:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.14.0:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.3:rc1:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.2:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.14.0:rc1:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.14.0:rc3:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.14.2:*:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.3:rc2:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.2:rc1:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:rc0:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.0:rc5:*:*:*:*:*:*
cpe:2.3:a:perl:perl:5.12.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Perl の util.c におけるヒープベースのバッファオーバーフローの脆弱性
Title Perl の util.c におけるヒープベースのバッファオーバーフローの脆弱性
Summary

Perl の util.c の Perl_repeatcpy 関数には、ヒープベースのバッファオーバーフローの脆弱性が存在します。

Possible impacts 攻撃者により、文字列繰り返し演算子 "x" を介して、サービス運用妨害 (メモリ消費およびクラッシュ) 状態にされる、または任意のコードを実行される可能性があります。
Solution

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

Publication Date Dec. 18, 2012, midnight
Registration Date Dec. 19, 2012, 11:32 a.m.
Last Update Nov. 1, 2013, 3:06 p.m.
Affected System
The Perl Foundation
Perl 5.12.5 未満の 5.12.x
Perl 5.14.3 未満の 5.14.x
Perl 5.15.5 未満の 5.15.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年12月19日]
  掲載
[2012年12月25日]
  CVSS による深刻度:基本値と機密性への影響、完全性への影響を更新
[2013年05月27日]
  ベンダ情報:オラクル (CVE-2012-5195 Heap Buffer Overrun vulnerability in Perl
) を追加
[2013年11月01日]
  ベンダ情報:Debian (DSA-2586) を追加
  ベンダ情報:オラクル (CVE-2012-5195 Buffer Errors vulnerability in Perl) を追加
  ベンダ情報:レッドハット (RHSA-2013:0685) を追加
Feb. 17, 2018, 10:37 a.m.