{"id":"CVE-2022-23556","summary":"CodeIgniter is vulnerable to IP address spoofing when using proxy","details":"CodeIgniter is a PHP full-stack web framework. This vulnerability may allow attackers to spoof their IP address when the server is behind a reverse proxy. This issue has been patched, please upgrade to version 4.2.11 or later, and configure `Config\\App::$proxyIPs`. As a workaround, do not use `$request-\u003egetIPAddress()`.\n","aliases":["BIT-codeigniter-2022-23556","GHSA-ghw3-5qvm-3mqc"],"modified":"2026-08-12T03:51:11.276046642Z","published":"2022-12-22T18:50:55.443Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-345"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23556.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23556.json"},{"type":"ADVISORY","url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-ghw3-5qvm-3mqc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23556"},{"type":"FIX","url":"https://github.com/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/codeigniter4/codeigniter4","events":[{"introduced":"47dbb16bb5e5784f45bf09a7380016f2d36f7c39"},{"fixed":"f04c67d7a1eb2ef909f916a24f614090c4bf168c"},{"fixed":"5ca8c99b2db09a2a08a013836628028ddc984659"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.2.11"}]}}],"versions":["v4.2.10","v4.2.9","v4.2.7","v4.2.6","v4.2.5","v4.2.4","v4.2.3","v4.2.2","v4.2.1","v4.2.0","v4.1.9","v4.1.8","v4.1.7","v4.1.6","v4.1.5","v4.1.4","v4.1.3","v4.1.2","v4.1.1","v4.1.0","v4.0.5","v4.0.3","4.0.0","v4.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23556.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"}]}