{"items":[{"id":"NVI-00005035","kind":"vulnerability","title":"Symfony2 improper IP based access control","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-hx53-jchx-cr52"],"plain_summary":"OSV carries this publisher advisory for symfony/symfony, symfony/symfony. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.19 for symfony/symfony. Confirm the publisher’s latest guidance.","source_ids":["sr-7e4e7b4685221d67be317cc533feea14"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.1.4 for symfony/symfony. Confirm the publisher’s latest guidance.","source_ids":["sr-7e4e7b4685221d67be317cc533feea14"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-7e4e7b4685221d67be317cc533feea14","url":"https://github.com/advisories/GHSA-hx53-jchx-cr52","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-hx53-jchx-cr52","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.433Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-7e4e7b4685221d67be317cc533feea14"],"technology":"symfony/symfony","known_exclusions":[],"conditions_summary":"Damien Tournoud, from the Drupal security team, contacted us two days ago about a security issue in the Request::getClientIp() method when the trust proxy mode is enabled (Request::trustProxyData()).\n\nAn 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.\n\nTo fix this security issue, the following changes have been made to all versions of Symfony2:\n\nA new Request::setTrustedProxies() method has been introduced and should be used intead of Request::trustProxyData() to enable the trust proxy mode. It takes an array of trusted proxy IP addresses as its argument:\n```\n// before (probably in your front controller script)\nRequest::trustProxyData();\n```\n```\n// after\nRequest::setTrustedProxies(array('1.1.1.1'));\n// 1.1.1.1 being the IP address of a trusted reverse proxy\n```\nThe Request::trustProxyData() method has been deprecated (when used, it automatically trusts the latest proxy in the chain -- which is the current remote address):\n```\nRequest::trustProxyData();\n```\n```\n// is equivalent to\nRequest::setTrustedProxies(array($request->server->get('REMOTE_ADDR')));\n```\nWe encourage a","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0; fixed 2.0.19"]},{"certainty":"source_listed","source_ids":["sr-7e4e7b4685221d67be317cc533feea14"],"technology":"symfony/symfony","known_exclusions":[],"conditions_summary":"Damien Tournoud, from the Drupal security team, contacted us two days ago about a security issue in the Request::getClientIp() method when the trust proxy mode is enabled (Request::trustProxyData()).\n\nAn 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.\n\nTo fix this security issue, the following changes have been made to all versions of Symfony2:\n\nA new Request::setTrustedProxies() method has been introduced and should be used intead of Request::trustProxyData() to enable the trust proxy mode. It takes an array of trusted proxy IP addresses as its argument:\n```\n// before (probably in your front controller script)\nRequest::trustProxyData();\n```\n```\n// after\nRequest::setTrustedProxies(array('1.1.1.1'));\n// 1.1.1.1 being the IP address of a trusted reverse proxy\n```\nThe Request::trustProxyData() method has been deprecated (when used, it automatically trusts the latest proxy in the chain -- which is the current remote address):\n```\nRequest::trustProxyData();\n```\n```\n// is equivalent to\nRequest::setTrustedProxies(array($request->server->get('REMOTE_ADDR')));\n```\nWe encourage a","public_affected_ranges":["ECOSYSTEM: introduced 2.1.0; fixed 2.1.4"]}],"null_published_at":"2026-10-31T22:13:01.437Z","source_updated_at":"2024-12-05T05:41:04.234Z","source_disclosed_at":"2024-05-30T12:35:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:20.433Z"}],"next_cursor":null,"snapshot_revision":"42594"}