CVE-2024-2357 (GCVE-0-2024-2357)
Vulnerability from cvelistv5
Published
2024-03-11 19:39
Modified
2025-02-13 17:39
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- IKEv2 misconfiguration can cause libreswan to abort and restart
Summary
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.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| The Libreswan Project (www.libreswan.org) | libreswan |
Version: 4.2 ≤ 4.12 |
{
"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-2357",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-03-12T16:21:48.798359Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-noinfo Not enough information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-20T17:25:31.624Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-01T19:11:53.507Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "CVE-2024-2357",
"tags": [
"vendor-advisory",
"x_transferred"
],
"url": "https://libreswan.org/security/CVE-2024-2357"
},
{
"tags": [
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJZJYFHKBIJ4ZK5GAWWFFR3AKJS6O5JX/"
},
{
"tags": [
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HEM46ALKF7NG6CAUKZ7KQERVOHWQIQKY/"
},
{
"tags": [
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TVQ7MZY6LFFGRWAJNTKKN2VSEFS2VPAR/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "libreswan",
"vendor": "The Libreswan Project (www.libreswan.org)",
"versions": [
{
"lessThanOrEqual": "4.1",
"status": "unaffected",
"version": "3.0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.12",
"status": "affected",
"version": "4.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.0"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "The vulnerability can only be triggered for connections with ikev2=yes and authby=secret"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Andrew Vaughn"
}
],
"datePublic": "2024-03-11T14:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "IKEv2 misconfiguration can cause libreswan to abort and restart",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-03-23T02:06:57.682Z",
"orgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"shortName": "libreswan"
},
"references": [
{
"name": "CVE-2024-2357",
"tags": [
"vendor-advisory"
],
"url": "https://libreswan.org/security/CVE-2024-2357"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJZJYFHKBIJ4ZK5GAWWFFR3AKJS6O5JX/"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HEM46ALKF7NG6CAUKZ7KQERVOHWQIQKY/"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TVQ7MZY6LFFGRWAJNTKKN2VSEFS2VPAR/"
}
],
"solutions": [
{
"lang": "en",
"value": "This issue is fixed in 4.13, 5.0 and all later versions."
}
],
"timeline": [
{
"lang": "en",
"time": "2024-02-08T00:00:00.000Z",
"value": "Issue reported publicly via https://github.com/libreswan/libreswan/issues/1609"
},
{
"lang": "en",
"time": "2024-02-14T00:00:00.000Z",
"value": "Workaround posted in the github issue"
},
{
"lang": "en",
"time": "2024-02-15T00:00:00.000Z",
"value": "Fix published (as issue was already public via githb issue)"
},
{
"lang": "en",
"time": "2024-03-09T00:00:00.000Z",
"value": "Advanced notice given to support customers and distributions"
},
{
"lang": "en",
"time": "2024-03-11T00:00:00.000Z",
"value": "CVE-2024-2357 published"
}
],
"title": "IKEv2 misconfiguration can cause libreswan to abort and restart",
"workarounds": [
{
"lang": "en",
"value": "As a workaround, one can place an unguessable long random default secret in /etc/ipsec.secrets, for example using the following command:\n\n echo -e \"# CVE-2024-2357 workaround\n: PSK \"$(openssl rand -hex 32)\"\" \u003e\u003e /etc/ipsec.secrets\n\nThis will ensure a PSK secret is always found, but it will always be wrong, and thus authentication will still properly fail."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"assignerShortName": "libreswan",
"cveId": "CVE-2024-2357",
"datePublished": "2024-03-11T19:39:03.280Z",
"dateReserved": "2024-03-09T22:24:12.530Z",
"dateUpdated": "2025-02-13T17:39:47.355Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…