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

Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors.

Publication Date Dec. 1, 2012, 7:55 a.m.
Registration Date Jan. 28, 2021, 3:03 p.m.
Last Update Nov. 21, 2024, 10:43 a.m.
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/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:libssh:libssh:0.5.1:*:*:*:*:*:*:*
cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:*
cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:*
cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:*
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* 0.5.2
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
libssh の複数の関数におけるメモリ二重解放の脆弱性
Title libssh の複数の関数におけるメモリ二重解放の脆弱性
Summary

libssh の下記の関数には、メモリを二重に解放する不備があるため、サービス運用妨害 (クラッシュ) 状態になる、および任意のコードを実行される脆弱性が存在します。 (1) agent.c 内の agent_sign_data 関数 (2) channels.c 内の channel_request 関数 (3) auth.c 内の ssh_userauth_pubkey 関数 (4) sftp.c 内の sftp_parse_attr_3 関数 (5) keyfiles.c 内の try_publickey_from_file 関数

Possible impacts 第三者により、サービス運用妨害 (クラッシュ) 状態にされる、および任意のコードを実行される可能性があります。
Solution

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

Publication Date Nov. 20, 2012, midnight
Registration Date Dec. 4, 2012, 2:26 p.m.
Last Update Dec. 21, 2012, 3:18 p.m.
Affected System
libssh
libssh 0.5.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年12月04日]
  掲載
[2012年12月21日]
  ベンダ情報:Debian (DSA-2577) を追加
Feb. 17, 2018, 10:37 a.m.