{"answers":{"affected":"3 open source packages ship an affected version, including quinn-proto. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45311 exists.","fix":"Upgrade quinn-proto to 0.11.7 or later.","what":"CVE-2024-45311 is a high-severity denial of service vulnerability in quinn-rs quinn, published on 2 Sep 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-45311 and fix it if it is affected.\n\nWhat it is: CVE-2024-45311 is a high-severity denial of service vulnerability in quinn-rs quinn, published on 2 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45311 exists.\n\nAffected packages and fixed versions:\n- quinn-proto (crates.io): affected from 0.11.0; fixed in 0.11.7\n- quinn-proto (crates.io): affected from 0.11.0; fixed in 0.11.7\n- quinn-proto (crates.io): affected from 0.11.0; fixed in 0.11.7\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-45311/ (Markdown: https://insights.sbomify.com/CVE-2024-45311/index.md)","id":"CVE-2024-45311","markdown":"https://insights.sbomify.com/CVE-2024-45311/index.md","name":"CVE-2024-45311","record":{"aliases":["GHSA-vr26-jcq5-fjj8","RUSTSEC-2024-0373"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust QUIC library","requires_auth":"none","summary":"A remote attacker can cause a server panic and denial of service by sending specific duplicate or malformed initial packets to a QUIC server using the quinn-proto library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"quinn","vendor":"quinn_project"}],"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-670","name":"Always-Incorrect Control Flow Implementation"}],"description":"Quinn is a pure-Rust, async-compatible implementation of the IETF QUIC transport protocol. As of quinn-proto 0.11, it is possible for a server to `accept()`, `retry()`, `refuse()`, or `ignore()` an `Incoming` connection. However, calling `retry()` on an unvalidated connection exposes the server to a likely panic in the following situations:  1. Calling `refuse` or `ignore` on the resulting validated connection, if a duplicate initial packet is received. This issue can go undetected until a server's `refuse()`/`ignore()` code path is exercised, such as to stop a denial of service attack. 2. Accepting when the initial packet for the resulting validated connection fails to decrypt or exhausts connection IDs, if a similar initial packet that successfully decrypts and doesn't exhaust connection IDs is received. This issue can go undetected if clients are well-behaved. The former situation was observed in a real application, while the latter is only theoretical.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Denial of service in quinn-proto when using `Endpoint::retry()`","id":"CVE-2024-45311","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"Arbitrary language parameter can passed to `aspell` executable via spelling requests in overleaf","id":"CVE-2024-45312"},"packages":[{"ecosystem":"crates.io","fixed":["0.11.7"],"introduced":["0.11.0"],"last_affected":[],"package":"quinn-proto","purl":null,"source":"GHSA-vr26-jcq5-fjj8"},{"ecosystem":"crates.io","fixed":["0.11.7"],"introduced":["0.11.0"],"last_affected":[],"package":"quinn-proto","purl":"pkg:cargo/quinn-proto","source":"GHSA-vr26-jcq5-fjj8"},{"ecosystem":"crates.io","fixed":["0.11.7"],"introduced":["0.11.0"],"last_affected":[],"package":"quinn-proto","purl":"pkg:cargo/quinn-proto","source":"RUSTSEC-2024-0373"}],"prev":{"headline":"runc can be confused to create empty files/directories on the host","id":"CVE-2024-45310"},"products":["quinn"],"published":"2024-09-02","related":[{"cvss_score":7.5,"headline":"quinn-proto Denial of Service vulnerability","id":"CVE-2023-42805","kev_date_added":null,"published":"2023-09-21"},{"cvss_score":7.5,"headline":"quinn invalidly assumes the memory layout of std::net::SocketAddr","id":"CVE-2021-28036","kev_date_added":null,"published":"2021-03-05"}],"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":"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["quinn-rs"]},"summary":"A remote attacker can cause a server panic and denial of service by sending specific duplicate or malformed initial packets to a QUIC server using the quinn-proto library.","url":"https://insights.sbomify.com/CVE-2024-45311/"}