製品・ソフトウェアに関する情報
CPython の smtplib ライブラリにおける TLS の保護を回避される脆弱性
Title CPython の smtplib ライブラリにおける TLS の保護を回避される脆弱性
Summary

CPython (別名 Python) の smtplib ライブラリは、StartTLS が失敗した際、エラーを返さないため、TLS の保護を回避される脆弱性が存在します。 本脆弱性は、"StartTLS stripping 攻撃" の脆弱性と呼ばれています。 補足情報 : CWE による脆弱性タイプは、CWE-693: Protection Mechanism Failure (保護メカニズムの不具合) と識別されています。 http://cwe.mitre.org/data/definitions/693.html

Possible impacts 中間者攻撃 (man-in-the-middle attack) により、クライアントと StartTLS コマンドをブロックするためのレジストリ間のネットワークポジションを利用されることで、TLS の保護を回避される可能性があります。
Solution

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

Publication Date June 25, 2016, midnight
Registration Date Sept. 5, 2016, 4:45 p.m.
Last Update Sept. 5, 2016, 4:45 p.m.
CVSS3.0 : 警告
Score 6.5
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
CVSS2.0 : 警告
Score 5.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:N
Affected System
Python Software Foundation
Python 2.7.12 未満
Python 3.4.5 未満の 3.x
Python 3.5.2 未満の 3.5.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年09月05日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2016-0772
Summary

The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."

Publication Date Sept. 2, 2016, 11:59 p.m.
Registration Date Jan. 26, 2021, 2:04 p.m.
Last Update Nov. 21, 2024, 11:42 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:python:python:3.5.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.5.1:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 2.7.11
Related information, measures and tools
Common Vulnerabilities List