{"answers":{"affected":"4 open source packages ship an affected version, including puma. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40175 in the wild and no public exploit code.","fix":"Upgrade puma to a fixed version for your release line: 5.6.7 or 6.3.1.","what":"CVE-2023-40175 is a high-severity vulnerability in puma, published on 18 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40175 and fix it if it is affected.\n\nWhat it is: CVE-2023-40175 is a high-severity vulnerability in puma, published on 18 Aug 2023. 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-2023-40175 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- puma (RubyGems): affected all versions; fixed in 5.6.7\n- puma (RubyGems): affected all versions; fixed in 5.6.7\n- puma (RubyGems): affected from 6.0.0; fixed in 6.3.1\n- puma (RubyGems): affected from 6.0.0; fixed in 6.3.1\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-40175/ (Markdown: https://insights.sbomify.com/CVE-2023-40175/index.md)","id":"CVE-2023-40175","markdown":"https://insights.sbomify.com/CVE-2023-40175/index.md","name":"CVE-2023-40175","record":{"aliases":["DEBIAN-CVE-2023-40175","GHSA-68xg-gqqm-vgj8","SUSE-SU-2023:3957-1","UBUNTU-CVE-2023-40175"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby web server","requires_auth":"none","summary":"Attackers can exploit HTTP request smuggling in Puma via inconsistent parsing of chunked bodies or zero-length headers, potentially bypassing security controls.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"puma","vendor":"puma"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["RubyGems","SUSE:Linux Enterprise High Availability Extension 15 SP1","SUSE:Linux Enterprise High Availability Extension 15 SP2","SUSE:Linux Enterprise High Availability Extension 15 SP3","SUSE:Linux Enterprise High Availability Extension 15 SP4","SUSE:Linux Enterprise High Availability Extension 15 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.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":"Inconsistent Interpretation of HTTP Requests in puma","id":"CVE-2023-40175","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"other","year":"2023"},"n_packages":11,"n_references":2,"next":{"headline":"SXSS in the user profile via the timezone displayer","id":"CVE-2023-40176"},"packages":[{"ecosystem":"RubyGems","fixed":["5.6.7"],"introduced":["0"],"last_affected":[],"package":"puma","purl":null,"source":"GHSA-68xg-gqqm-vgj8"},{"ecosystem":"RubyGems","fixed":["5.6.7"],"introduced":["0"],"last_affected":[],"package":"puma","purl":"pkg:gem/puma","source":"GHSA-68xg-gqqm-vgj8"},{"ecosystem":"RubyGems","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"puma","purl":null,"source":"GHSA-68xg-gqqm-vgj8"},{"ecosystem":"RubyGems","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"puma","purl":"pkg:gem/puma","source":"GHSA-68xg-gqqm-vgj8"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP1","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/suse/rubygem-puma\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP1","source":"SUSE-SU-2023:3957-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP2","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/suse/rubygem-puma\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP2","source":"SUSE-SU-2023:3957-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP3","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/suse/rubygem-puma\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP3","source":"SUSE-SU-2023:3957-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP4","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/suse/rubygem-puma\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP4","source":"SUSE-SU-2023:3957-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP5","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/suse/rubygem-puma\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP5","source":"SUSE-SU-2023:3957-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/opensuse/rubygem-puma\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:3957-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["4.3.12-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-puma","purl":"pkg:rpm/opensuse/rubygem-puma\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:3957-1"}],"prev":{"headline":"Insufficient Session Expiration in fobybus/social-media-skeleton","id":"CVE-2023-40174"},"products":["puma"],"published":"2023-08-18","related":[{"cvss_score":6.5,"headline":"HTTP Response Splitting (Early Hints) in Puma","id":"CVE-2020-5249","kev_date_added":null,"published":"2020-03-02"},{"cvss_score":5.9,"headline":"HTTP Request/Response Smuggling in puma","id":"CVE-2024-21647","kev_date_added":null,"published":"2024-01-08"},{"cvss_score":5.4,"headline":"Header normalization allows for client to clobber proxy set headers in Puma","id":"CVE-2024-45614","kev_date_added":null,"published":"2024-09-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":"SUSE","prefix":"SUSE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-07","vendors":["puma"]},"summary":"Attackers can exploit HTTP request smuggling in Puma via inconsistent parsing of chunked bodies or zero-length headers, potentially bypassing security controls.","url":"https://insights.sbomify.com/CVE-2023-40175/"}