深刻度 中
Symfony2 security issue when the trust proxy mode is enabled
Symfony(ライブラリ)の脆弱性です。深刻度は「中」です。修正版は 2.0.19 です。
- 対象
- Symfony(ライブラリ)
- 深刻度
- 中
- 影響を受けるバージョン
- 2.0.0 以上、2.0.19 未満
- 修正版
- 2.0.19
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
An application is vulnerable if it uses the client IP address as returned by the Request::getClientIp() method for sensitive decisions like IP based access control. To fix this security issue, the following changes have been made to all versions of Symfony2: A new Request::setTrustedProxies() metho…(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
Symfony を、修正版の 2.0.19 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://github.com/symfony/http-foundation/commit/5cde5229fc71a19cef2a0a933a18e08e43252f34(新しいタブで開きます)
- https://github.com/symfony/http-foundation/commit/795ac45c188ee2a729db4513e9dfd30b16a0ed35(新しいタブで開きます)
- https://github.com/symfony/symfony/commit/9ce892cf4395e73b136e9b5cd1fae9e91995c93b(新しいタブで開きます)
- https://github.com/symfony/symfony/commit/e5536f0fe10421da7ebbe0071343e94d039dfb97(新しいタブで開きます)
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/2012-11-29.yaml(新しいタブで開きます)
- https://symfony.com/blog/security-release-symfony-2-0-19-and-2-1-4(新しいタブで開きます)
Symfony のほかの脆弱性
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。