Python の SSL モジュールの ssl.match_hostname 関数における任意の SSL サーバになりすまされる脆弱性
タイトル Python の SSL モジュールの ssl.match_hostname 関数における任意の SSL サーバになりすまされる脆弱性
概要

Python の SSL モジュールの ssl.match_hostname 関数は、X.509 証明書の Subject Alternative Name フィールド内のドメイン名に含まれる '\0' 文字を適切に処理しないため、任意の SSL サーバになりすまされる脆弱性が存在します。 本脆弱性は、CVE-2009-2408 と関連する問題です。

想定される影響 中間者攻撃 (man-in-the-middle attack) により、正当な認証局より発行された巧妙に細工された証明書を介して、任意の SSL サーバになりすまされる可能性があります。
対策

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

公表日 2013年8月12日0:00
登録日 2013年8月20日15:43
最終更新日 2014年12月18日11:48
CVSS2.0 : 警告
スコア 4.3
ベクター AV:N/AC:M/Au:N/C:N/I:P/A:N
影響を受けるシステム
Python Software Foundation
Python 2.6 から 3.4
Novell
openSUSE 11.4
openSUSE 12.2
openSUSE 12.3
Canonical
Ubuntu 10.04 LTS
VMware
VMware ESXi 5.0
VMware ESXi 5.1 ESXi510-201412101-SG 未満の 5.1
VMware ESXi 5.5
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
0 [2013年08月20日]
  掲載
[2013年10月28日]
  CVSS による深刻度:内容を更新
  影響を受けるシステム:内容を更新
  ベンダ情報:Ubuntu (Ubuntu Security Notice USN-1982-1) を追加
  ベンダ情報:Novell (openSUSE-SU-2013:1437) を追加
  ベンダ情報:Novell (openSUSE-SU-2013:1438) を追加
  ベンダ情報:Novell (openSUSE-SU-2013:1439) を追加
  ベンダ情報:Novell (openSUSE-SU-2013:1440) を追加
  ベンダ情報:Novell (openSUSE-SU-2013:1462) を追加
  ベンダ情報:Novell (openSUSE-SU-2013:1463) を追加
  ベンダ情報:オラクル (CVE-2013-4238 Input Validation vulnerability in Python) を追加
[2013年12月26日]
  ベンダ情報:レッドハット (RHSA-2013:1582) を追加
[2014年12月18日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:VMware (VMSA-2014-0012) を追加
2018年2月17日10:37

NVD脆弱性情報
CVE-2013-4238
概要

The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

公表日 2013年8月18日11:52
登録日 2021年1月26日15:42
最終更新日 2024年11月21日10:55
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
構成2 以上 以下 より上 未満
cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:*
cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*
cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:*
cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:*
cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*
構成3 以上 以下 より上 未満
cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧