CVE-2024-3652 (GCVE-0-2024-3652)
Vulnerability from cvelistv5 – Published: 2024-04-11 01:32 – Updated: 2026-02-27 15:19
VLAI
EPSS
VEX
Title
IKEv1 default AH/ESP responder can cause libreswan to abort and restart
Summary
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.
Severity
6.5 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart
- CWE-404 - Improper Resource Shutdown or Release
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://libreswan.org/security/CVE-2024-3652 | vendor-advisory |
| http://www.openwall.com/lists/oss-security/2024/04/18/2 |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| The Libreswan Project (www.libreswan.org) | libreswan |
Affected:
3.22 , ≤ 4.14
(semver)
Unaffected: 5.0 |
Date Public
2024-04-12 21:00
Credits
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2024-3652",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-04-11T17:26:47.015453Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-404",
"description": "CWE-404 Improper Resource Shutdown or Release",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-02-27T15:19:48.988Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-01T20:19:59.933Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "CVE-2024-3652",
"tags": [
"vendor-advisory",
"x_transferred"
],
"url": "https://libreswan.org/security/CVE-2024-3652"
},
{
"tags": [
"x_transferred"
],
"url": "http://www.openwall.com/lists/oss-security/2024/04/18/2"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "libreswan",
"vendor": "The Libreswan Project (www.libreswan.org)",
"versions": [
{
"lessThanOrEqual": "4.14",
"status": "affected",
"version": "3.22",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.0"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "The vulnerability can only be triggered for connections with ikev2=no that do not specify an esp= option."
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "github user X1AOxiang"
}
],
"datePublic": "2024-04-12T21:00:00.000Z",
"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\u0027s default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-05-01T17:10:23.219Z",
"orgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"shortName": "libreswan"
},
"references": [
{
"name": "CVE-2024-3652",
"tags": [
"vendor-advisory"
],
"url": "https://libreswan.org/security/CVE-2024-3652"
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/04/18/2"
}
],
"solutions": [
{
"lang": "en",
"value": "This issue is fixed in 4.15 and all later versions."
}
],
"timeline": [
{
"lang": "en",
"time": "2024-03-24T00:00:00.000Z",
"value": "Issue reported publicly by github user X1AOxiang via https://github.com/libreswan/libreswan/issues/1665"
},
{
"lang": "en",
"time": "2024-03-27T00:00:00.000Z",
"value": "Fix published in commit 03caa63de1e3 (as issue was already public via githb issue)"
},
{
"lang": "en",
"time": "2024-04-10T00:00:00.000Z",
"value": "Advanced notice given to support customers and distributions"
},
{
"lang": "en",
"time": "2024-04-12T00:00:00.000Z",
"value": "CVE-2024-3652 published"
}
],
"title": "IKEv1 default AH/ESP responder can cause libreswan to abort and restart",
"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."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"assignerShortName": "libreswan",
"cveId": "CVE-2024-3652",
"datePublished": "2024-04-11T01:32:13.433Z",
"dateReserved": "2024-04-11T01:28:41.331Z",
"dateUpdated": "2026-02-27T15:19:48.988Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-3652",
"date": "2026-07-14",
"epss": "0.008",
"percentile": "0.52326"
},
"microsoft_vex": {
"current_release_date": "2025-04-01T00:00:00.000Z",
"cve": "CVE-2024-3652",
"id": "msrc_CVE-2024-3652",
"initial_release_date": "2024-04-02T07:00:00.000Z",
"product_status:fixed": "3",
"product_status:known_affected": "3",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "IKEv1 default AH/ESP responder can cause libreswan to abort and restart",
"url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-3652.json",
"version": "3"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-3652\",\"sourceIdentifier\":\"d42dc95b-23f1-4e06-9076-20753a0fb0df\",\"published\":\"2024-04-11T02:15:47.790\",\"lastModified\":\"2026-06-17T07:44:44.500\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"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\u0027s default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected.\"},{\"lang\":\"es\",\"value\":\"Se notific\u00f3 a Libreswan Project sobre un problema que provocaba que libreswan se reiniciara al usar IKEv1 sin especificar una l\u00ednea esp=. Cuando el par solicita AES-GMAC, el controlador de propuestas predeterminado de libreswan provoca un error de aserci\u00f3n, falla y se reinicia. Las conexiones IKEv2 no se ven afectadas.\"}],\"affected\":[{\"source\":\"d42dc95b-23f1-4e06-9076-20753a0fb0df\",\"affectedData\":[{\"vendor\":\"The Libreswan Project (www.libreswan.org)\",\"product\":\"libreswan\",\"defaultStatus\":\"unaffected\",\"versions\":[{\"version\":\"3.22\",\"lessThanOrEqual\":\"4.14\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.0\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-04-11T17:26:47.015453Z\",\"id\":\"CVE-2024-3652\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-404\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.22\",\"versionEndExcluding\":\"4.15\",\"matchCriteriaId\":\"DFCF4ECE-E126-47B3-9B03-C420896DAFB3\"}]}]}],\"references\":[{\"url\":\"http://www.openwall.com/lists/oss-security/2024/04/18/2\",\"source\":\"d42dc95b-23f1-4e06-9076-20753a0fb0df\",\"tags\":[\"Mailing List\"]},{\"url\":\"https://libreswan.org/security/CVE-2024-3652\",\"source\":\"d42dc95b-23f1-4e06-9076-20753a0fb0df\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"http://www.openwall.com/lists/oss-security/2024/04/18/2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\"]},{\"url\":\"https://libreswan.org/security/CVE-2024-3652\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2025-11-21T14:42:50+00:00",
"cve": "CVE-2024-3652",
"id": "CVE-2024-3652",
"initial_release_date": "2024-04-15T00:00:00+00:00",
"product_status:fixed": "119",
"product_status:known_affected": "3",
"product_status:known_not_affected": "43",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "libreswan: IKEv1 default AH/ESP responder can crash and restart",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-3652.json",
"version": "3"
},
"vulnrichment": {
"containers": "{\"adp\": [{\"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\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-01T20:19:59.933Z\"}}, {\"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\": {\"id\": \"CVE-2024-3652\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-04-11T17:26:47.015453Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-404\", \"description\": \"CWE-404 Improper Resource Shutdown or Release\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:23.347Z\"}}], \"cna\": {\"title\": \"IKEv1 default AH/ESP responder can cause libreswan to abort and restart\", \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"github user X1AOxiang\"}], \"affected\": [{\"vendor\": \"The Libreswan Project (www.libreswan.org)\", \"product\": \"libreswan\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.22\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14\"}, {\"status\": \"unaffected\", \"version\": \"5.0\"}], \"defaultStatus\": \"unaffected\"}], \"timeline\": [{\"lang\": \"en\", \"time\": \"2024-03-24T00:00:00.000Z\", \"value\": \"Issue reported publicly by github user X1AOxiang via https://github.com/libreswan/libreswan/issues/1665\"}, {\"lang\": \"en\", \"time\": \"2024-03-27T00:00:00.000Z\", \"value\": \"Fix published in commit 03caa63de1e3 (as issue was already public via githb issue)\"}, {\"lang\": \"en\", \"time\": \"2024-04-10T00:00:00.000Z\", \"value\": \"Advanced notice given to support customers and distributions\"}, {\"lang\": \"en\", \"time\": \"2024-04-12T00:00:00.000Z\", \"value\": \"CVE-2024-3652 published\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"This issue is fixed in 4.15 and all later versions.\"}], \"datePublic\": \"2024-04-12T21:00:00.000Z\", \"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\"}], \"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.\"}], \"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\u0027s default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart\"}]}], \"configurations\": [{\"lang\": \"en\", \"value\": \"The vulnerability can only be triggered for connections with ikev2=no that do not specify an esp= option.\"}], \"providerMetadata\": {\"orgId\": \"d42dc95b-23f1-4e06-9076-20753a0fb0df\", \"shortName\": \"libreswan\", \"dateUpdated\": \"2024-05-01T17:10:23.219Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-3652\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-02-27T15:19:48.988Z\", \"dateReserved\": \"2024-04-11T01:28:41.331Z\", \"assignerOrgId\": \"d42dc95b-23f1-4e06-9076-20753a0fb0df\", \"datePublished\": \"2024-04-11T01:32:13.433Z\", \"assignerShortName\": \"libreswan\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…