{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-3652",
        "assignerOrgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
        "state": "PUBLISHED",
        "assignerShortName": "libreswan",
        "dateReserved": "2024-04-11T01:28:41.331Z",
        "datePublished": "2024-04-11T01:32:13.433Z",
        "dateUpdated": "2024-08-01T20:19:59.933Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
                "shortName": "libreswan",
                "dateUpdated": "2024-04-11T01:32:13.433Z"
            },
            "title": "IKEv1 default AH/ESP responder can cause libreswan to abort and restart",
            "datePublic": "2024-04-12T21:00:00.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "The Libreswan Project (www.libreswan.org)",
                    "product": "libreswan",
                    "versions": [
                        {
                            "version": "3.22",
                            "status": "affected",
                            "lessThanOrEqual": "4.14",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.0",
                            "status": "unaffected"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "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."
                }
            ],
            "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"
                }
            ],
            "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"
                }
            ]
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "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"
                            }
                        }
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:32:30.853Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T20:19:59.933Z"
                },
                "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"
                        ]
                    }
                ]
            }
        ]
    }
}