{"answers":{"affected":"3 open source packages ship an affected version, including github.com/shift72/caddy-geo-ip. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-50463 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-50463 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-50463 is a medium-severity vulnerability in n/a, published on 10 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-50463 and fix it if it is affected.\n\nWhat it is: CVE-2023-50463 is a medium-severity vulnerability in n/a, published on 10 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-50463 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/shift72/caddy-geo-ip (Go): affected all versions; no fix listed\n- github.com/shift72/caddy-geo-ip (Go): affected all versions up to 0.6.0; no fix listed\n- github.com/shift72/caddy-geo-ip (Go): affected all versions up to 0.6.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-50463/ (Markdown: https://insights.sbomify.com/CVE-2023-50463/index.md)","id":"CVE-2023-50463","markdown":"https://insights.sbomify.com/CVE-2023-50463/index.md","name":"CVE-2023-50463","record":{"aliases":["GHSA-rxg9-hgq7-8pwx","GO-2023-2394"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Caddy web server","requires_auth":"none","summary":"Attackers can spoof source IP addresses via X-Forwarded-For headers to bypass IP-based access controls in Caddy's GeoIP middleware.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"caddy","vendor":"caddyserver"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"The caddy-geo-ip (aka GeoIP) middleware through 0.6.0 for Caddy 2, when trust_header X-Forwarded-For is used, allows attackers to spoof their source IP address via an X-Forwarded-For header, which may bypass a protection mechanism (trusted_proxy directive in reverse_proxy or IP address range restrictions).","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Header spoofing in caddy-geo-ip","id":"CVE-2023-50463","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-50465"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/shift72/caddy-geo-ip","purl":"pkg:golang/github.com/shift72/caddy-geo-ip","source":"GO-2023-2394"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.6.0"],"package":"github.com/shift72/caddy-geo-ip","purl":null,"source":"GHSA-rxg9-hgq7-8pwx"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.6.0"],"package":"github.com/shift72/caddy-geo-ip","purl":"pkg:golang/github.com/shift72/caddy-geo-ip","source":"GHSA-rxg9-hgq7-8pwx"}],"prev":{"headline":"Insecure Direct Object Reference in extension \"Content Consent\" (content_consent)","id":"CVE-2023-50462"},"products":["n/a"],"published":"2023-12-10","related":[{"cvss_score":9.8,"headline":"Caddy vulnerable to Authentication Bypass due to mishandling of TLS client authentication","id":"CVE-2018-21246","kev_date_added":null,"published":"2020-06-15"},{"cvss_score":8.9,"headline":"Caddy: Unicode case-folding length expansion causes incorrect split_path index in FastCGI transport","id":"CVE-2026-27590","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":8.8,"headline":"Caddy's mTLS client authentication silently fails open when CA certificate file is missing or malformed","id":"CVE-2026-27586","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":8.1,"headline":"Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files","id":"CVE-2026-45135","kev_date_added":null,"published":"2026-06-23"},{"cvss_score":8.1,"headline":"Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`","id":"CVE-2026-52845","kev_date_added":null,"published":"2026-06-23"},{"cvss_score":8.1,"headline":"Caddy forward_auth copy_headers Does Not Strip Client-Supplied Headers, Allowing Identity Injection and Privilege Escalation","id":"CVE-2026-30851","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":7.7,"headline":"Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass","id":"CVE-2026-27587","kev_date_added":null,"published":"2026-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can spoof source IP addresses via X-Forwarded-For headers to bypass IP-based access controls in Caddy's GeoIP middleware.","url":"https://insights.sbomify.com/CVE-2023-50463/"}