{"answers":{"affected":"3 open source packages ship an affected version, including bottle. It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-9964 in the wild and no public exploit code.","fix":"Upgrade bottle to 0.12.11 or later.","what":"CVE-2016-9964 is a medium-severity vulnerability in Debian Debian Linux, published on 16 Dec 2016. 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-2016-9964 and fix it if it is affected.\n\nWhat it is: CVE-2016-9964 is a medium-severity vulnerability in Debian Debian Linux, published on 16 Dec 2016. 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-2016-9964 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bottle (PyPI): affected from 0.10.1; fixed in 0.12.11\n- bottle (PyPI): affected from 0.10.1; fixed in 0.12.11\n- bottle (PyPI): affected from 0.10.1; fixed in 0.12.11\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-2016-9964/ (Markdown: https://insights.sbomify.com/CVE-2016-9964/index.md)","id":"CVE-2016-9964","markdown":"https://insights.sbomify.com/CVE-2016-9964/index.md","name":"CVE-2016-9964","record":{"aliases":["DEBIAN-CVE-2016-9964","DLA-761-1","DSA-3743-1","GHSA-j6f7-hghw-g437","MGASA-2017-0031","PYSEC-2016-24","UBUNTU-CVE-2016-9964","openSUSE-SU-2024:11220-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web framework","requires_auth":"none","summary":"Attackers can inject CRLF sequences into HTTP headers via the redirect function, potentially enabling header injection attacks.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bottle","vendor":"bottlepy"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"redirect() in bottle.py in bottle 0.12.10 doesn't filter a \"\\r\\n\" sequence, which leads to a CRLF attack, as demonstrated by a redirect(\"233\\r\\nSet-Cookie: name=salt\") call.","ecosystems":["PyPI"],"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":"bottle.py vulnerable to CRLF Injection","id":"CVE-2016-9964","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"other","year":"2016"},"n_packages":3,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2016-9965"},"packages":[{"ecosystem":"PyPI","fixed":["0.12.11"],"introduced":["0.10.1"],"last_affected":[],"package":"bottle","purl":null,"source":"GHSA-j6f7-hghw-g437"},{"ecosystem":"PyPI","fixed":["0.12.11"],"introduced":["0.10.1"],"last_affected":[],"package":"bottle","purl":"pkg:pypi/bottle","source":"GHSA-j6f7-hghw-g437"},{"ecosystem":"PyPI","fixed":["0.12.11"],"introduced":["0.10.1"],"last_affected":[],"package":"bottle","purl":"pkg:pypi/bottle","source":"PYSEC-2016-24"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2016-9963"},"products":["n/a"],"published":"2016-12-16","related":[{"cvss_score":9.8,"headline":"Denial of service in bottle","id":"CVE-2022-31799","kev_date_added":null,"published":"2022-05-29"},{"cvss_score":6.8,"headline":"Web Cache Poisoning","id":"CVE-2020-28473","kev_date_added":null,"published":"2021-01-18"},{"cvss_score":6.8,"headline":"Bottle does not properly limit content-types","id":"CVE-2014-3137","kev_date_added":null,"published":"2014-10-25"}],"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":"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-06","vendors":["n/a"]},"summary":"Attackers can inject CRLF sequences into HTTP headers via the redirect function, potentially enabling header injection attacks.","url":"https://insights.sbomify.com/CVE-2016-9964/"}