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

Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI-Prolog before 6.2.5 and 6.3.x before 6.3.7 allow remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted filename.

Publication Date Jan. 4, 2013, 8:52 p.m.
Registration Date Jan. 28, 2021, 3:07 p.m.
Last Update Nov. 21, 2024, 10:45 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:swi-prolog:swi-prolog:6.2.3:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.10.5:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.0.2:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.10.2:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.62:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.8.3:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.63:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.2.1:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.10.1:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:*:*:*:*:*:*:*:* 6.2.4
cpe:2.3:a:swi-prolog:swi-prolog:5.6.64:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.52:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.55:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.8.2:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.61:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.51:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.2.2:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.10.4:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.8.0:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.59:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.10.3:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.57:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.54:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.58:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.8.1:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.50:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.53:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.2.0:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.0.1:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.0.0:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.10.0:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:5.6.56:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:swi-prolog:swi-prolog:6.3.1:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.3.4:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.3.0:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.3.6:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.3.5:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.3.2:*:*:*:*:*:*:*
cpe:2.3:a:swi-prolog:swi-prolog:6.3.3:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
SWI-Prolog の os/pl-os.c におけるスタックベースのバッファオーバーフローの脆弱性
Title SWI-Prolog の os/pl-os.c におけるスタックベースのバッファオーバーフローの脆弱性
Summary

SWI-Prolog の os/pl-os.c 内の canoniseFileName 関数には、スタックベースのバッファオーバーフローの脆弱性が存在します。

Possible impacts 第三者により、巧妙に細工されたファイル名を介して、サービス運用妨害 (アプリケーションクラッシュ) 状態にされる、または任意のコードを実行される可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Dec. 16, 2012, midnight
Registration Date Jan. 7, 2013, 6:33 p.m.
Last Update Jan. 7, 2013, 6:33 p.m.
Affected System
SWI-Prolog
SWI-Prolog 6.2.5 未満
SWI-Prolog 6.3.7 未満の 6.3.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2013年01月07日]
  掲載
Feb. 17, 2018, 10:37 a.m.