{"answers":{"affected":"3 open source packages ship an affected version, including requests. It affects 3 products.","exploited":"There is no known exploitation of CVE-2015-2296 in the wild and no public exploit code.","fix":"Upgrade requests to 2.6.0 or later.","what":"CVE-2015-2296 is a medium-severity authentication bypass vulnerability in Canonical Ubuntu Linux, published on 18 Mar 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-2296 and fix it if it is affected.\n\nWhat it is: CVE-2015-2296 is a medium-severity authentication bypass vulnerability in Canonical Ubuntu Linux, published on 18 Mar 2015. 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-2015-2296 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- requests (PyPI): affected from 2.1.0; fixed in 2.6.0\n- requests (PyPI): affected from 2.1.0; fixed in 2.6.0\n- requests (PyPI): affected from 2.1.0; fixed in 2.6.0\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-2015-2296/ (Markdown: https://insights.sbomify.com/CVE-2015-2296/index.md)","id":"CVE-2015-2296","markdown":"https://insights.sbomify.com/CVE-2015-2296/index.md","name":"CVE-2015-2296","record":{"aliases":["DEBIAN-CVE-2015-2296","GHSA-pg2w-x9wp-vw92","MGASA-2015-0120","PYSEC-2015-17","SUSE-SU-2015:2156-1","SUSE-SU-2016:0114-1","UBUNTU-CVE-2015-2296","USN-2531-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Python HTTP library","requires_auth":"none","summary":"Remote attackers can hijack user sessions via crafted redirect cookies in the requests library, potentially leading to account takeover.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"mageia","vendor":"mageia_project"},{"product":"requests","vendor":"python"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.","ecosystems":["PyPI","SUSE:Cloud Compute Node for SUSE Linux Enterprise 12 5","SUSE:Enterprise Storage 1.0","SUSE:Enterprise Storage 2","SUSE:Linux Enterprise Desktop 12 SP1","SUSE:Linux Enterprise High Availability Extension 12","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Server 12","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:OpenStack Cloud 5"],"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":"Python Requests Session Fixation","id":"CVE-2015-2296","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux"],"type":"auth_bypass","year":"2015"},"n_packages":14,"n_references":8,"next":{"headline":"Null dereference in n/a","id":"CVE-2015-2297"},"packages":[{"ecosystem":"PyPI","fixed":["2.6.0"],"introduced":["2.1.0"],"last_affected":[],"package":"requests","purl":null,"source":"GHSA-pg2w-x9wp-vw92"},{"ecosystem":"PyPI","fixed":["2.6.0"],"introduced":["2.1.0"],"last_affected":[],"package":"requests","purl":"pkg:pypi/requests","source":"GHSA-pg2w-x9wp-vw92"},{"ecosystem":"PyPI","fixed":["2.6.0"],"introduced":["2.1.0"],"last_affected":[],"package":"requests","purl":"pkg:pypi/requests","source":"PYSEC-2015-17"},{"ecosystem":"SUSE:Cloud Compute Node for SUSE Linux Enterprise 12 5","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Cloud%20Compute%20Node%20for%20SUSE%20Linux%20Enterprise%2012%205","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Enterprise Storage 1.0","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Enterprise%20Storage%201.0","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Enterprise Storage 2","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Enterprise%20Storage%202","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["2.8.1-6.9.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2016:0114-1"},{"ecosystem":"SUSE:OpenStack Cloud 5","fixed":["2.3.0-9.2"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20OpenStack%20Cloud%205","source":"SUSE-SU-2015:2156-1"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2015-2295"},"products":["n/a"],"published":"2015-03-18","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"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":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"Remote attackers can hijack user sessions via crafted redirect cookies in the requests library, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2015-2296/"}