{"answers":{"affected":"2 open source packages ship an affected version, including rack-cache. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-2671 in the wild and no public exploit code.","fix":"Upgrade rack-cache to 1.2 or later.","what":"CVE-2012-2671 is a high-severity vulnerability in n/a, published on 17 Jun 2012. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-2671 and fix it if it is affected.\n\nWhat it is: CVE-2012-2671 is a high-severity vulnerability in n/a, published on 17 Jun 2012. 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-2012-2671 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rack-cache (RubyGems): affected from 0.3.0; fixed in 1.2\n- rack-cache (RubyGems): affected from 0.3.0; fixed in 1.2\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-2012-2671/ (Markdown: https://insights.sbomify.com/CVE-2012-2671/index.md)","id":"CVE-2012-2671","markdown":"https://insights.sbomify.com/CVE-2012-2671/index.md","name":"CVE-2012-2671","record":{"aliases":["DEBIAN-CVE-2012-2671","GHSA-hrp6-w4v2-8737"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby caching library","requires_auth":"none","summary":"Attackers can access cached sensitive headers to steal cookies and hijack web sessions in applications using the Rack::Cache library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"rack-cach","vendor":"rtomayko"}],"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":[],"description":"The Rack::Cache rubygem 0.3.0 through 1.1 caches Set-Cookie and other sensitive headers, which allows attackers to obtain sensitive cookie information, hijack web sessions, or have other unspecified impact by accessing the cache.","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":"Rack-Cache caches sensitive headers","id":"CVE-2012-2671","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"information_disclosure","year":"2012"},"n_packages":2,"n_references":8,"next":{"headline":"Information disclosure in n/a","id":"CVE-2012-2672"},"packages":[{"ecosystem":"RubyGems","fixed":["1.2"],"introduced":["0.3.0"],"last_affected":[],"package":"rack-cache","purl":null,"source":"GHSA-hrp6-w4v2-8737"},{"ecosystem":"RubyGems","fixed":["1.2"],"introduced":["0.3.0"],"last_affected":[],"package":"rack-cache","purl":"pkg:gem/rack-cache","source":"GHSA-hrp6-w4v2-8737"}],"prev":{"headline":"File upload in n/a","id":"CVE-2012-2670"},"products":["n/a"],"published":"2012-06-17","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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can access cached sensitive headers to steal cookies and hijack web sessions in applications using the Rack::Cache library.","url":"https://insights.sbomify.com/CVE-2012-2671/"}