{"answers":{"affected":"2 open source packages ship an affected version, including thin. It affects 1 product.","exploited":"There is no known exploitation of CVE-2009-3287 in the wild and no public exploit code.","fix":"Upgrade thin to 1.2.4 or later.","what":"CVE-2009-3287 is a high-severity vulnerability in n/a, published on 22 Sep 2009. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2009-3287 and fix it if it is affected.\n\nWhat it is: CVE-2009-3287 is a high-severity vulnerability in n/a, published on 22 Sep 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2009-3287 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- thin (RubyGems): affected all versions; fixed in 1.2.4\n- thin (RubyGems): affected all versions; fixed in 1.2.4\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-2009-3287/ (Markdown: https://insights.sbomify.com/CVE-2009-3287/index.md)","id":"CVE-2009-3287","markdown":"https://insights.sbomify.com/CVE-2009-3287/index.md","name":"CVE-2009-3287","record":{"aliases":["DEBIAN-CVE-2009-3287","GHSA-j24p-r6wx-r79w"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby web server","requires_auth":"none","summary":"Attackers can spoof client IP addresses by manipulating the X-Forwarded-For header, bypassing IP-based access controls or logging mechanisms.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"thin","vendor":"macournoyer"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"lib/thin/connection.rb in Thin web server before 1.2.4 relies on the X-Forwarded-For header to determine the IP address of the client, which allows remote attackers to spoof the IP address and hide activities via a modified X-Forwarded-For header.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"High severity vulnerability that affects thin","id":"CVE-2009-3287","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"other","year":"2009"},"n_packages":2,"n_references":3,"next":{"headline":"Null dereference in n/a","id":"CVE-2009-3288"},"packages":[{"ecosystem":"RubyGems","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"thin","purl":null,"source":"GHSA-j24p-r6wx-r79w"},{"ecosystem":"RubyGems","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"thin","purl":"pkg:gem/thin","source":"GHSA-j24p-r6wx-r79w"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2009-3286"},"products":["n/a"],"published":"2009-09-22","related":[],"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":"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-09-16","vendors":["n/a"]},"summary":"Attackers can spoof client IP addresses by manipulating the X-Forwarded-For header, bypassing IP-based access controls or logging mechanisms.","url":"https://insights.sbomify.com/CVE-2009-3287/"}