{"answers":{"affected":"34 open source packages ship an affected version, including co.fs2:fs2-io_2.12, co.fs2:fs2-io_0.26 and co.fs2:fs2-io_0.27.","exploited":"There is no known exploitation of CVE-2025-58369 in the wild and no public exploit code.","fix":"Upgrade co.fs2:fs2-io_2.12 to a fixed version for your release line: 2.5.13, 3.12.2 or 3.13.0-M7.","what":"CVE-2025-58369 is a medium-severity denial of service vulnerability in typelevel fs2, published on 5 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-58369 and fix it if it is affected.\n\nWhat it is: CVE-2025-58369 is a medium-severity denial of service vulnerability in typelevel fs2, published on 5 Sep 2025. 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-2025-58369 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- co.fs2:fs2-io_2.12 (Maven): affected all versions; fixed in 2.5.13\n- co.fs2:fs2-io_2.12 (Maven): affected all versions; fixed in 2.5.13\n- co.fs2:fs2-io_2.12 (Maven): affected from 3.0.0-M1; fixed in 3.12.2\n- co.fs2:fs2-io_2.12 (Maven): affected from 3.0.0-M1; fixed in 3.12.2\n- co.fs2:fs2-io_2.12 (Maven): affected from 3.13.0-M1; fixed in 3.13.0-M7\n- co.fs2:fs2-io_2.12 (Maven): affected from 3.13.0-M1; fixed in 3.13.0-M7\n- co.fs2:fs2-io_0.26 (Maven): affected all versions; no fix listed\n- co.fs2:fs2-io_0.26 (Maven): affected all versions; no fix listed\n- co.fs2:fs2-io_0.27 (Maven): affected all versions; no fix listed\n- co.fs2:fs2-io_0.27 (Maven): affected all versions; no fix listed\n- co.fs2:fs2-io_2.11 (Maven): affected all versions; no fix listed\n- co.fs2:fs2-io_2.11 (Maven): affected all versions; no fix listed\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-2025-58369/ (Markdown: https://insights.sbomify.com/CVE-2025-58369/index.md)","id":"CVE-2025-58369","markdown":"https://insights.sbomify.com/CVE-2025-58369/index.md","name":"CVE-2025-58369","record":{"aliases":["GHSA-rrw2-px9j-qffj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Scala streaming library","requires_auth":"none","summary":"An attacker can cause a CPU spin loop and denial of service in fs2-io TLS sessions by half-shutting down the socket during handshake.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"fs2 is a compositional, streaming I/O library for Scala. Versions up to and including 2.5.12, 3.0.0-M1 through 3.12.2, and 3.13.0-M1 through 3.13.0-M6 are vulnerable to denial of service attacks though TLS sessions using fs2-io on the JVM using the fs2.io.net.tls package. When establishing a TLS session, if one side of the connection shuts down `write` while the peer side is awaiting more data to progress the TLS handshake, the peer side will spin loop on the socket read, fully utilizing a CPU. The CPU is consumed until the overall connection is closed, potentially shutting down a fs2-io powered server. This issue is fixed in versions  2.5.13, 3.12.1, and 3.13.0-M7.","ecosystems":["Maven"],"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":"fs2: Half-shutdown of socket during TLS handshake may result in spin loop on opposite side","id":"CVE-2025-58369","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":34,"n_references":7,"next":{"headline":"Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference","id":"CVE-2025-58370"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_0.26","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_0.26","purl":"pkg:maven/co.fs2/fs2-io_0.26","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_0.27","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_0.27","purl":"pkg:maven/co.fs2/fs2-io_0.27","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.11","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.11","purl":"pkg:maven/co.fs2/fs2-io_2.11","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["2.5.13"],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["2.5.13"],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.12.2"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.12","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.12.2"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.13.0-M7"],"introduced":["3.13.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.12","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.13.0-M7"],"introduced":["3.13.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-M4","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-M4","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-M4","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-M5","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-M5","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-M5","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-RC1","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-RC1","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-RC1","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-RC2","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.12.0-RC2","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-RC2","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["2.5.13"],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.13","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["2.5.13"],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.12.2"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.13","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.12.2"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.13.0-M7"],"introduced":["3.13.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.13","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.13.0-M7"],"introduced":["3.13.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.13.0-M5","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_2.13.0-M5","purl":"pkg:maven/co.fs2/fs2-io_2.13.0-M5","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["2.5.13"],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_3","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["2.5.13"],"introduced":["0"],"last_affected":[],"package":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.12.2"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_3","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.12.2"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.13.0-M7"],"introduced":["3.13.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_3","purl":null,"source":"GHSA-rrw2-px9j-qffj"},{"ecosystem":"Maven","fixed":["3.13.0-M7"],"introduced":["3.13.0-M1"],"last_affected":[],"package":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","source":"GHSA-rrw2-px9j-qffj"}],"prev":{"headline":"DeepDiff is vulnerable to DoS and Remote Code Execution via Delta class pollution","id":"CVE-2025-58367"},"products":["fs2"],"published":"2025-09-05","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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-07","vendors":["typelevel"]},"summary":"An attacker can cause a CPU spin loop and denial of service in fs2-io TLS sessions by half-shutting down the socket during handshake.","url":"https://insights.sbomify.com/CVE-2025-58369/"}