{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-2357 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-2357 is a medium-severity denial of service vulnerability in The Libreswan Project (www.libreswan.org) libreswan, published on 11 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2357 and fix it if it is affected.\n\nWhat it is: CVE-2024-2357 is a medium-severity denial of service vulnerability in The Libreswan Project (www.libreswan.org) libreswan, published on 11 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-2357 in the wild and no public exploit code.\n\nAffected product: The Libreswan Project (www.libreswan.org) libreswan. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2357/ (Markdown: https://insights.sbomify.com/CVE-2024-2357/index.md)","id":"CVE-2024-2357","markdown":"https://insights.sbomify.com/CVE-2024-2357/index.md","name":"CVE-2024-2357","record":{"aliases":["ALSA-2024:1998","ALSA-2024:2033","ALSA-2024:2565","AZL-35885","CLSA-2025-1764957598","DEBIAN-CVE-2024-2357","GHSA-77h7-8788-mfv3","MGASA-2024-0113","OESA-2024-1341","OESA-2024-1409","RHSA-2024:1998","RHSA-2024:2033","RHSA-2024:2081","RHSA-2024:2082","RHSA-2024:2085","RHSA-2024:2565","RLSA-2024:1998","RLSA-2024:2565","UBUNTU-CVE-2024-2357"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"IPsec VPN software","requires_auth":"low_privilege","summary":"Attackers can cause repeated crashes and restarts in Libreswan by exploiting IKEv2 retransmit scenarios with specific PreSharedKey configurations.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"libreswan","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"The Libreswan Project was notified of an issue causing libreswan to restart under some IKEv2 retransmit scenarios when a connection is configured to use PreSharedKeys (authby=secret) and the connection cannot find a matching configured secret. When such a connection is automatically added on startup using the auto= keyword, it can cause repeated crashes leading to a Denial of Service.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.2::appstream","Rocky Linux:8","Rocky Linux:9"],"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":"IKEv2 misconfiguration can cause libreswan to abort and restart","id":"CVE-2024-2357","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":23,"n_references":4,"next":{"headline":"Path Traversal leading to Remote Code Execution in parisneo/lollms-webui","id":"CVE-2024-2358"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["4.12-2.el8_9.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/almalinux/libreswan","source":"ALSA-2024:1998"},{"ecosystem":"AlmaLinux:9","fixed":["4.12-1.el9_3.1.alma.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/almalinux/libreswan","source":"ALSA-2024:2033"},{"ecosystem":"AlmaLinux:9","fixed":["4.12-2.el9_4.alma.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/almalinux/libreswan","source":"ALSA-2024:2565"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.12-2.el8_9.2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:1998"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.12-2.el8_9.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:1998"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.12-2.el8_9.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:1998"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-1.el9_3.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:2033"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:2565"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-1.el9_3.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:2033"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:2565"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-1.el9_3.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:2033"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:2565"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:4.5-1.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:2082"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:4.5-1.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:2082"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:4.5-1.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:2082"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:4.9-3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:2081"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:4.9-3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:2081"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:4.9-3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:2081"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:4.9-5.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:2085"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:4.9-5.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:2085"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:4.9-5.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:2085"},{"ecosystem":"Rocky Linux:8","fixed":["0:4.12-2.el8_9.2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/rocky-linux/libreswan?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:1998"},{"ecosystem":"Rocky Linux:9","fixed":["0:4.12-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/rocky-linux/libreswan?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:2565"}],"prev":{"headline":"Remote Code Execution due to LFI in '/reinstall_extension' in parisneo/lollms-webui","id":"CVE-2024-2356"},"products":["libreswan"],"published":"2024-03-11","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["The Libreswan Project (www.libreswan.org)"]},"summary":"Attackers can cause repeated crashes and restarts in Libreswan by exploiting IKEv2 retransmit scenarios with specific PreSharedKey configurations.","url":"https://insights.sbomify.com/CVE-2024-2357/"}