cve-2024-3652
Vulnerability from cvelistv5
Published
2024-04-11 01:32
Modified
2025-02-13 17:52
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.
Impacted products
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unaffected",
            "product": "libreswan",
            "vendor": "libreswan",
            "versions": [
              {
                "lessThanOrEqual": "4.14",
                "status": "affected",
                "version": "3.22",
                "versionType": "semver"
              },
              {
                "status": "unaffected",
                "version": "5.0"
              },
              {
                "status": "unaffected",
                "version": "4.15"
              },
              {
                "lessThanOrEqual": "3.21",
                "status": "unaffected",
                "version": "3.0",
                "versionType": "semver"
              }
            ]
          }
        ],
        "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-10-29T17:34:37.575Z",
          "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": "2025-02-13T17:52:56.700Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-3652\",\"sourceIdentifier\":\"d42dc95b-23f1-4e06-9076-20753a0fb0df\",\"published\":\"2024-04-11T02:15:47.790\",\"lastModified\":\"2024-11-21T09:30:05.313\",\"vulnStatus\":\"Awaiting Analysis\",\"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.\"}],\"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}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-404\"}]}],\"references\":[{\"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\":\"d42dc95b-23f1-4e06-9076-20753a0fb0df\"},{\"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\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
    "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\"}}, {\"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\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:23.347Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"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\": \"2025-02-13T17:52:56.700Z\", \"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.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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.
  • 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.