{"id":"CVE-2024-3652","state":"PUBLISHED","title":"IKEv1 default AH/ESP responder can cause libreswan to abort and restart","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.","publishedAt":"2024-04-11T01:32:13.433Z","updatedAt":"2026-02-27T15:19:48.988Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"libreswan","products":["The Libreswan Project (www.libreswan.org) libreswan"],"affected":[{"vendor":"The Libreswan Project (www.libreswan.org)","product":"libreswan","defaultStatus":"unaffected","versions":[{"version":"3.22","status":"affected","lessThanOrEqual":"4.14","versionType":"semver"},{"version":"5.0","status":"unaffected"}]}],"references":["https://libreswan.org/security/CVE-2024-3652","http://www.openwall.com/lists/oss-security/2024/04/18/2"],"weaknesses":["CWE-404"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/3xxx/CVE-2024-3652.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-3652","state":"PUBLISHED","datePublished":"2024-04-11T01:32:13.433Z","dateUpdated":"2026-02-27T15:19:48.988Z","assignerShortName":"libreswan","assignerOrgId":"d42dc95b-23f1-4e06-9076-20753a0fb0df","dateReserved":"2024-04-11T01:28:41.331Z"},"containers":{"cna":{"title":"IKEv1 default AH/ESP responder can cause libreswan to abort and restart","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"The Libreswan Project (www.libreswan.org)","product":"libreswan","defaultStatus":"unaffected","versions":[{"version":"3.22","status":"affected","lessThanOrEqual":"4.14","versionType":"semver"},{"version":"5.0","status":"unaffected"}]}],"references":[{"url":"https://libreswan.org/security/CVE-2024-3652","name":"CVE-2024-3652","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/18/2"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart"}]}],"providerMetadata":{"shortName":"libreswan","orgId":"d42dc95b-23f1-4e06-9076-20753a0fb0df","dateUpdated":"2024-05-01T17:10:23.219Z"},"datePublic":"2024-04-12T21:00:00.000Z","solutions":[{"lang":"en","value":"This issue is fixed in 4.15 and all later versions."}],"workarounds":[{"lang":"en","value":"As a workaround, adding an esp= line to all IKEv1 connections works around the issue. An example covering most common default configurations would be: esp=aes-sha2_512,aes-sha1,aes-sha2_256,aes-md5,3des-sha1,3des-md5."}],"configurations":[{"lang":"en","value":"The vulnerability can only be triggered for connections with ikev2=no that do not specify an esp= option."}],"timeline":[{"time":"2024-03-24T00:00:00.000Z","lang":"en","value":"Issue reported publicly by github user X1AOxiang via https://github.com/libreswan/libreswan/issues/1665"},{"time":"2024-03-27T00:00:00.000Z","lang":"en","value":"Fix published in commit 03caa63de1e3 (as issue was already public via githb issue)"},{"time":"2024-04-10T00:00:00.000Z","lang":"en","value":"Advanced notice given to support customers and distributions"},{"time":"2024-04-12T00:00:00.000Z","lang":"en","value":"CVE-2024-3652 published"}],"credits":[{"lang":"en","value":"github user X1AOxiang","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-04-11T17:26:47.015453Z","id":"CVE-2024-3652","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-404","type":"CWE","lang":"en","description":"CWE-404 Improper Resource Shutdown or Release"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-27T15:19:48.988Z"}},{"title":"CVE Program Container","references":[{"url":"https://libreswan.org/security/CVE-2024-3652","name":"CVE-2024-3652","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/18/2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T20:19:59.933Z"}}]}}}