深刻度 中
PYSEC-2023-74
requests(ライブラリ)の脆弱性です。深刻度は「中」です。修正版は 74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5, 2.31.0 です。
- 対象
- requests(ライブラリ)
- CVE 番号
- CVE-2023-32681
- 深刻度
- 中
- 影響を受けるバージョン
- 74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5 未満
- 2.3.0 以上、2.31.0 未満
- 修正版
- 74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5, 2.31.0
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent …(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
requests を、修正版の 74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5, 2.31.0 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q(新しいタブで開きます)
- https://github.com/psf/requests/releases/tag/v2.31.0(新しいタブで開きます)
- https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5(新しいタブで開きます)
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/(新しいタブで開きます)
requests のほかの脆弱性
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。