製品・ソフトウェアに関する情報
GitLab で使用される gitlab-shell の SSH 鍵のアップロード機能における任意のコマンドを実行される脆弱性
Title GitLab で使用される gitlab-shell の SSH 鍵のアップロード機能における任意のコマンドを実行される脆弱性
Summary

GitLab で使用される gitlab-shell の SSH 鍵のアップロード機能 (lib/gitlab_keys.rb) には、任意のコマンドを実行される脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-77: Improper Neutralization of Special Elements used in a Command (コマンドインジェクション) と識別されています。 http://cwe.mitre.org/data/definitions/77.html

Possible impacts リモート認証されたユーザにより、公開鍵のシェルのメタ文字を介して、任意のコマンドを実行される可能性があります。
Solution

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

Publication Date Nov. 4, 2013, midnight
Registration Date May 15, 2014, 4:36 p.m.
Last Update May 15, 2014, 4:36 p.m.
CVSS2.0 : 警告
Score 6.5
Vector AV:N/AC:L/Au:S/C:P/I:P/A:P
Affected System
GitLab.org
GitLab 5.0 以上 5.4.1 未満
GitLab 6.2.3 未満 の 6.x
gitlab-shell 1.7.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2014年05月15日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2013-4490
Summary

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x before 6.2.3, allows remote authenticated users to execute arbitrary commands via shell metacharacters in the public key.

Publication Date May 14, 2014, 12:55 a.m.
Registration Date Jan. 26, 2021, 3:43 p.m.
Last Update Nov. 21, 2024, 10:55 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gitlab:gitlab:6.2.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.7.1:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:5.0.1:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.5.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:5.1.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:6.2.2:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:5.2.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.0.4:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:6.2.1:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:6.0.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:6.1.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.7.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:*:*:*:*:*:*:*:* 1.7.2
cpe:2.3:a:gitlab:gitlab-shell:1.1.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.4.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:5.0.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.3.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:5.3.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab:5.4.0:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:gitlab-shell:1.6.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List