NVD Vulnerability Detail
Search Exploit, PoC
CVE-2018-20852
Summary

http.cookiejar.DefaultPolicy.domain_return_ok in Lib/http/cookiejar.py in Python before 3.7.3 does not correctly validate the domain: it can be tricked into sending existing cookies to the wrong server. An attacker may abuse this flaw by using a server with a hostname that has another valid hostname as a suffix (e.g., pythonicexample.com to steal cookies for example.com). When a program uses http.cookiejar.DefaultPolicy and tries to do an HTTP connection to an attacker-controlled server, existing cookies can be leaked to the attacker. This affects 2.x through 2.7.16, 3.x before 3.4.10, 3.5.x before 3.5.7, 3.6.x before 3.6.9, and 3.7.x before 3.7.3.

Publication Date July 14, 2019, 6:15 a.m.
Registration Date March 1, 2021, 7:18 p.m.
Last Update Nov. 21, 2024, 1:02 p.m.
CVSS3.0 : MEDIUM
スコア 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
攻撃元区分(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:python:python:*:*:*:*:*:*:*:* 2.0 2.7.16
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.7.0 3.7.3
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.6.0 3.6.9
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.5.0 3.5.7
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.0.0 3.4.10
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Python における入力確認に関する脆弱性
Title Python における入力確認に関する脆弱性
Summary

Python には、入力確認に関する脆弱性が存在します。

Possible impacts 情報を取得される可能性があります。
Solution

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

Publication Date Oct. 31, 2018, midnight
Registration Date July 22, 2019, 5 p.m.
Last Update July 22, 2019, 5 p.m.
Affected System
Python Software Foundation
Python 2.7.16 までの 2.x
Python 3.4.10 未満の 3.x
Python 3.5.7 未満の 3.5.x
Python 3.6.9 未満の 3.6.x
Python 3.7.3 未満の 3.7.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2019年07月22日]
  掲載
July 22, 2019, 5 p.m.