{"answers":{"affected":"9 open source packages ship an affected version, including rustls.","exploited":"There is no known exploitation of CVE-2024-32650 in the wild and no public exploit code.","fix":"Upgrade rustls to a fixed version for your release line: 0.21.11, 0.22.4 or 0.23.5.","what":"CVE-2024-32650 is a high-severity denial of service vulnerability in rustls, published on 19 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-32650 and fix it if it is affected.\n\nWhat it is: CVE-2024-32650 is a high-severity denial of service vulnerability in rustls, published on 19 Apr 2024. 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-2024-32650 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rustls (crates.io): affected all versions; no fix listed\n- rustls (crates.io): affected all versions; no fix listed\n- rustls (crates.io): affected from 0.0.0-0; fixed in 0.21.11, 0.22.4, 0.23.5\n- rustls (crates.io): affected from 0.21.0; fixed in 0.21.11\n- rustls (crates.io): affected from 0.21.0; fixed in 0.21.11\n- rustls (crates.io): affected from 0.22.0; fixed in 0.22.4\n- rustls (crates.io): affected from 0.22.0; fixed in 0.22.4\n- rustls (crates.io): affected from 0.23.0; fixed in 0.23.5\n- rustls (crates.io): affected from 0.23.0; fixed in 0.23.5\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-2024-32650/ (Markdown: https://insights.sbomify.com/CVE-2024-32650/index.md)","id":"CVE-2024-32650","markdown":"https://insights.sbomify.com/CVE-2024-32650/index.md","name":"CVE-2024-32650","record":{"aliases":["DEBIAN-CVE-2024-32650","GHSA-6g7w-8wpp-frhj","RUSTSEC-2024-0336","SUSE-SU-2025:03629-1","UBUNTU-CVE-2024-32650","openSUSE-SU-2024:0130-1","openSUSE-SU-2024:13893-1","openSUSE-SU-2024:13904-1","openSUSE-SU-2024:13912-1","openSUSE-SU-2024:13917-1","openSUSE-SU-2024:13923-1","openSUSE-SU-2024:13961-1","openSUSE-SU-2024:13969-1","openSUSE-SU-2024:14424-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust TLS library","requires_auth":"none","summary":"A remote attacker can cause a denial of service in Rustls servers by sending a specific sequence of TLS messages, triggering an infinite loop.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"Rustls is a modern TLS library written in Rust. `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, the server's `complete_io` will get in an infinite loop. This vulnerability is fixed in 0.23.5, 0.22.4, and 0.21.11.","ecosystems":["SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","SUSE:Package Hub 15 SP5","crates.io","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"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":"Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input","id":"CVE-2024-32650","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":20,"n_references":4,"next":{"headline":"Server Side Template Injection in Jinja2 allows Remote Command Execution","id":"CVE-2024-32651"},"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":[],"last_affected":[],"package":"rustls","purl":null,"source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":[],"introduced":[],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":["0.21.11","0.22.4","0.23.5"],"introduced":["0.0.0-0","0.22.0","0.23.0"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"RUSTSEC-2024-0336"},{"ecosystem":"crates.io","fixed":["0.21.11"],"introduced":["0.21.0"],"last_affected":[],"package":"rustls","purl":null,"source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":["0.21.11"],"introduced":["0.21.0"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":["0.22.4"],"introduced":["0.22.0"],"last_affected":[],"package":"rustls","purl":null,"source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":["0.22.4"],"introduced":["0.22.0"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":["0.23.5"],"introduced":["0.23.0"],"last_affected":[],"package":"rustls","purl":null,"source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"crates.io","fixed":["0.23.5"],"introduced":["0.23.0"],"last_affected":[],"package":"rustls","purl":"pkg:cargo/rustls","source":"GHSA-6g7w-8wpp-frhj"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","fixed":["0.12.11-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-rs","purl":"pkg:rpm/suse/gstreamer-plugins-rs\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP6","source":"SUSE-SU-2025:03629-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","fixed":["0.12.11-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-rs","purl":"pkg:rpm/suse/gstreamer-plugins-rs\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7","source":"SUSE-SU-2025:03629-1"},{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["2.2.2-bp155.2.3.1"],"introduced":["0"],"last_affected":[],"package":"git-cliff","purl":"pkg:rpm/suse/git-cliff\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2024:0130-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.2.2-bp155.2.3.1"],"introduced":["0"],"last_affected":[],"package":"git-cliff","purl":"pkg:rpm/opensuse/git-cliff\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2024:0130-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.12.11-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-rs","purl":"pkg:rpm/opensuse/gstreamer-plugins-rs\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:03629-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.38.0-1.1"],"introduced":["0"],"last_affected":[],"package":"gitoxide","purl":"pkg:rpm/opensuse/gitoxide\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14424-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.5.1-1.1"],"introduced":["0"],"last_affected":[],"package":"kubetui","purl":"pkg:rpm/opensuse/kubetui\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13912-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.8.0~3-1.1"],"introduced":["0"],"last_affected":[],"package":"sccache","purl":"pkg:rpm/opensuse/sccache\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13961-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.18.3-1.1"],"introduced":["0"],"last_affected":[],"package":"shadowsocks-rust","purl":"pkg:rpm/opensuse/shadowsocks-rust\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13893-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.9.2+0-1.1"],"introduced":["0"],"last_affected":[],"package":"tlrc","purl":"pkg:rpm/opensuse/tlrc\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13917-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["14.0.1-2.1"],"introduced":["0"],"last_affected":[],"package":"topgrade","purl":"pkg:rpm/opensuse/topgrade\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13904-1"}],"prev":{"headline":"vyper performs double eval of the argument of sqrt","id":"CVE-2024-32649"},"products":["rustls"],"published":"2024-04-19","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":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-08-02","vendors":["rustls"]},"summary":"A remote attacker can cause a denial of service in Rustls servers by sending a specific sequence of TLS messages, triggering an infinite loop.","url":"https://insights.sbomify.com/CVE-2024-32650/"}