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

OESA-2023-1581 (CVE-2023-38710)

Vulnerability from osv_openeuler – Published: 2023-09-02 11:06 – Updated: 2026-08-06 11:06 – Source website
VLAI
Summary
libreswan security update
Details

Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services.

Security Fix(es):

An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.(CVE-2023-38710)

An issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an IDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.(CVE-2023-38711)

An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.(CVE-2023-38712)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "libreswan-4.12-1.oe1.aarch64.rpm",
          "libreswan-debugsource-4.12-1.oe1.aarch64.rpm",
          "libreswan-debuginfo-4.12-1.oe1.aarch64.rpm",
          "libreswan-help-4.12-1.oe1.aarch64.rpm"
        ],
        "src": [
          "libreswan-4.12-1.oe1.src.rpm"
        ],
        "x86_64": [
          "libreswan-4.12-1.oe1.x86_64.rpm",
          "libreswan-debuginfo-4.12-1.oe1.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe1.x86_64.rpm",
          "libreswan-help-4.12-1.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP1",
        "name": "libreswan",
        "purl": "pkg:rpm/openEuler/libreswan\u0026distro=openEuler-20.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.12-1.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libreswan-debugsource-4.12-1.oe1.aarch64.rpm",
          "libreswan-help-4.12-1.oe1.aarch64.rpm",
          "libreswan-4.12-1.oe1.aarch64.rpm",
          "libreswan-debuginfo-4.12-1.oe1.aarch64.rpm"
        ],
        "src": [
          "libreswan-4.12-1.oe1.src.rpm"
        ],
        "x86_64": [
          "libreswan-debuginfo-4.12-1.oe1.x86_64.rpm",
          "libreswan-4.12-1.oe1.x86_64.rpm",
          "libreswan-help-4.12-1.oe1.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP3",
        "name": "libreswan",
        "purl": "pkg:rpm/openEuler/libreswan\u0026distro=openEuler-20.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.12-1.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libreswan-debuginfo-4.12-1.oe2203.aarch64.rpm",
          "libreswan-debugsource-4.12-1.oe2203.aarch64.rpm",
          "libreswan-help-4.12-1.oe2203.aarch64.rpm",
          "libreswan-4.12-1.oe2203.aarch64.rpm",
          "libreswan-help-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203sp2.aarch64.rpm",
          "libreswan-help-4.12-1.oe2203sp2.aarch64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp2.aarch64.rpm",
          "libreswan-4.12-1.oe2203sp2.aarch64.rpm"
        ],
        "src": [
          "libreswan-4.12-1.oe2203.src.rpm",
          "libreswan-4.12-1.oe2203sp1.src.rpm",
          "libreswan-4.12-1.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "libreswan-help-4.12-1.oe2203.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe2203.x86_64.rpm",
          "libreswan-4.12-1.oe2203.x86_64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203.x86_64.rpm",
          "libreswan-help-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203sp2.x86_64.rpm",
          "libreswan-help-4.12-1.oe2203sp2.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp2.x86_64.rpm",
          "libreswan-4.12-1.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS",
        "name": "libreswan",
        "purl": "pkg:rpm/openEuler/libreswan\u0026distro=openEuler-22.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.12-1.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libreswan-help-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203sp1.aarch64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp1.aarch64.rpm"
        ],
        "src": [
          "libreswan-4.12-1.oe2203sp1.src.rpm"
        ],
        "x86_64": [
          "libreswan-help-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-debuginfo-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp1.x86_64.rpm",
          "libreswan-4.12-1.oe2203sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP1",
        "name": "libreswan",
        "purl": "pkg:rpm/openEuler/libreswan\u0026distro=openEuler-22.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.12-1.oe2203sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libreswan-debuginfo-4.12-1.oe2203sp2.aarch64.rpm",
          "libreswan-help-4.12-1.oe2203sp2.aarch64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp2.aarch64.rpm",
          "libreswan-4.12-1.oe2203sp2.aarch64.rpm"
        ],
        "src": [
          "libreswan-4.12-1.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "libreswan-debuginfo-4.12-1.oe2203sp2.x86_64.rpm",
          "libreswan-help-4.12-1.oe2203sp2.x86_64.rpm",
          "libreswan-debugsource-4.12-1.oe2203sp2.x86_64.rpm",
          "libreswan-4.12-1.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP2",
        "name": "libreswan",
        "purl": "pkg:rpm/openEuler/libreswan\u0026distro=openEuler-22.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.12-1.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. \r\n\r\nSecurity Fix(es):\r\n\r\nAn issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload\u0026apos;s protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.(CVE-2023-38710)\r\n\r\nAn issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an IDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.(CVE-2023-38711)\r\n\r\nAn issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.(CVE-2023-38712)",
  "id": "OESA-2023-1581",
  "modified": "2026-08-06T11:06:02Z",
  "published": "2023-09-02T11:06:02Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1581"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38710"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38711"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38712"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libreswan security update",
  "upstream": [
    "CVE-2023-38710",
    "CVE-2023-38711",
    "CVE-2023-38712"
  ]
}



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…