{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-3652 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-3652 is a medium-severity denial of service vulnerability in The Libreswan Project (www.libreswan.org) libreswan, published on 11 Apr 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-3652 and fix it if it is affected.\n\nWhat it is: CVE-2024-3652 is a medium-severity denial of service vulnerability in The Libreswan Project (www.libreswan.org) libreswan, published on 11 Apr 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-3652 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-3652/ (Markdown: https://insights.sbomify.com/CVE-2024-3652/index.md)","id":"CVE-2024-3652","markdown":"https://insights.sbomify.com/CVE-2024-3652/index.md","name":"CVE-2024-3652","record":{"aliases":["ALSA-2024:4050","ALSA-2024:4376","AZL-39919","AZL-39927","CLSA-2025-1752749664","DEBIAN-CVE-2024-3652","GHSA-395v-96gv-76w3","MGASA-2024-0138","OESA-2024-1565","RHSA-2024:4050","RHSA-2024:4200","RHSA-2024:4376","RHSA-2024:4377","RHSA-2024:4417","RHSA-2024:4431","RLSA-2024:4050","RLSA-2024:4376","UBUNTU-CVE-2024-3652"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"IPsec VPN software","requires_auth":"low_privilege","summary":"A remote attacker can cause a denial of service by triggering an assertion failure in Libreswan's IKEv1 responder when AES-GMAC is requested without an explicit esp configuration.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"libreswan","cpe":[{"product":"libreswan","vendor":"libreswan"}],"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":[{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"description":"The Libreswan Project was notified of an issue causing libreswan to restart when using IKEv1 without specifying an esp= line. When the peer requests AES-GMAC, libreswan's default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_tus:8.6::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":"IKEv1 default AH/ESP responder can cause libreswan to abort and restart","id":"CVE-2024-3652","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":28,"n_references":2,"next":{"headline":"Undertow: learningpushhandler can lead to remote memory dos attacks","id":"CVE-2024-3653"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["4.12-2.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/almalinux/libreswan","source":"ALSA-2024:4376"},{"ecosystem":"AlmaLinux:9","fixed":["4.12-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/almalinux/libreswan","source":"ALSA-2024:4050"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.12-2.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4376"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.12-2.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4376"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.12-2.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4376"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4050"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4050"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.12-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4050"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:4.6-3.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4377"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:4.6-3.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4377"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:4.6-3.el9_0.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4377"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:4.9-3.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4200"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:4.9-3.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4200"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:4.9-3.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4200"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:4.9-5.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4431"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:4.9-5.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4431"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:4.9-5.el9_2.2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4431"},{"ecosystem":"Red Hat:rhel_tus:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_tus:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2024:4417"},{"ecosystem":"Red Hat:rhel_tus:8.6::appstream","fixed":["0:4.5-1.el8_6.3"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2024:4417"},{"ecosystem":"Rocky Linux:8","fixed":["0:4.12-2.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/rocky-linux/libreswan?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:4376"},{"ecosystem":"Rocky Linux:9","fixed":["0:4.12-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/rocky-linux/libreswan?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:4050"}],"prev":{"headline":"Denial of Service via Quadratic Complexity in kjd/idna","id":"CVE-2024-3651"},"products":["libreswan"],"published":"2024-04-11","related":[{"cvss_score":9.3,"headline":"Race condition in n/a","id":"CVE-2013-7283","kev_date_added":null,"published":"2014-01-09"},{"cvss_score":7.5,"headline":"IKEv2 Denial of Service via malformed fragmentation","id":"CVE-2026-12413","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload","id":"CVE-2026-50721","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload","id":"CVE-2026-50722","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2023-30570","kev_date_added":null,"published":"2023-05-28"},{"cvss_score":7.5,"headline":"Denial of service in libreswan","id":"CVE-2023-2295","kev_date_added":null,"published":"2023-05-17"},{"cvss_score":7.5,"headline":"Denial of service in libreswan","id":"CVE-2020-1763","kev_date_added":null,"published":"2020-05-12"}],"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-27","vendors":["The Libreswan Project (www.libreswan.org)"]},"summary":"A remote attacker can cause a denial of service by triggering an assertion failure in Libreswan's IKEv1 responder when AES-GMAC is requested without an explicit esp configuration.","url":"https://insights.sbomify.com/CVE-2024-3652/"}