GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-3652 (GCVE-0-2024-3652)

Vulnerability from cvelistv5 – Published: 2024-04-11 01:32 – Updated: 2026-02-27 15:19
VLAI
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-04-11 17:26 UTC
CWE
  • IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart
  • CWE-404 - Improper Resource Shutdown or Release
Impacted products
Vendor Product Version CPE status
The Libreswan Project (www.libreswan.org) libreswan Affected: 3.22 , ≤ 4.14 (semver)
Unaffected: 5.0
guessed Create a notification for this product.
Date Public
2024-04-12 21:00
Show details on NVD website

{
  "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-09-19",
      "epss": "0.00794",
      "percentile": "0.54843"
    },
    "fkie_nvd": {
      "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."
        }
      ],
      "id": "CVE-2024-3652",
      "lastModified": "2024-11-21T09:30:05.313",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "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"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 3.6,
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ]
      },
      "published": "2024-04-11T02:15:47.790",
      "references": [
        {
          "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
          "url": "http://www.openwall.com/lists/oss-security/2024/04/18/2"
        },
        {
          "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
          "url": "https://libreswan.org/security/CVE-2024-3652"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.openwall.com/lists/oss-security/2024/04/18/2"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://libreswan.org/security/CVE-2024-3652"
        }
      ],
      "sourceIdentifier": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
      "vulnStatus": "Awaiting Analysis",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-404"
            }
          ],
          "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "type": "Secondary"
        }
      ]
    },
    "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": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DFCF4ECE-E126-47B3-9B03-C420896DAFB3",
                    "versionEndExcluding": "4.15",
                    "versionStartIncluding": "3.22",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "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."
          }
        ],
        "id": "CVE-2024-3652",
        "lastModified": "2026-06-17T07:44:44.500",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "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"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 3.6,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2024-3652",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-04-11T17:26:47.015453Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2024-04-11T02:15:47.790",
        "references": [
          {
            "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
            "tags": [
              "Mailing List"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2024/04/18/2"
          },
          {
            "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://libreswan.org/security/CVE-2024-3652"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Mailing List"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2024/04/18/2"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://libreswan.org/security/CVE-2024-3652"
          }
        ],
        "sourceIdentifier": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-404"
              }
            ],
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ]
      }
    },
    "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"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2025-03-15T05:47:19Z",
      "cve": "CVE-2024-3652",
      "id": "CVE-2024-3652",
      "initial_release_date": "2024-04-12T02:12:28Z",
      "product_status:recommended": "2",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-3652",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-3652.json",
      "version": "8"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "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"
          },
          {
            "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": "2024-05-23T19:01:23.347Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "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"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…