深刻度 中
PYSEC-2018-28
requests(ライブラリ)の脆弱性です。深刻度は「中」です。修正版は c45d7c49ea75133e52ab22a8e9e13173938e36ff, 2.20.0 です。
- 対象
- requests(ライブラリ)
- CVE 番号
- CVE-2018-18074
- 深刻度
- 中
- 影響を受けるバージョン
- c45d7c49ea75133e52ab22a8e9e13173938e36ff 未満
- 2.20.0 未満
- 修正版
- c45d7c49ea75133e52ab22a8e9e13173938e36ff, 2.20.0
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
requests を、修正版の c45d7c49ea75133e52ab22a8e9e13173938e36ff, 2.20.0 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://github.com/requests/requests/pull/4718(新しいタブで開きます)
- https://github.com/requests/requests/issues/4716(新しいタブで開きます)
- https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff(新しいタブで開きます)
- https://bugs.debian.org/910766(新しいタブで開きます)
- https://usn.ubuntu.com/3790-1/(新しいタブで開きます)
- http://docs.python-requests.org/en/master/community/updates/#release-and-version-history(新しいタブで開きます)
- https://usn.ubuntu.com/3790-2/(新しいタブで開きます)
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html(新しいタブで開きます)
- https://access.redhat.com/errata/RHSA-2019:2035(新しいタブで開きます)
- https://github.com/advisories/GHSA-x84v-xcm2-53pg(新しいタブで開きます)
requests のほかの脆弱性
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。