CVE-2023-38711: Null Pointer Dereference

Published Jun 19, 2023
·
Updated

An issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with IDIPV4ADDR or IDIPV6ADDR receives an IDcr payload with IDFQDN a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.

Other sources

An issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with IDIPV4ADDR or IDIPV6ADDR receives an IDcr payload with IDFQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.

— MITRE

When an IKEv1 Quick Mode connection configured with IDIPV4ADDR or IDIPV6ADDR, receives an IDcr payload with IDFQDN, a null pointer dereference causes a crash and restart of the pluto daemon.

https://libreswan.org/security/CVE-2023-38711/CVE-2023-38711.txt

— Red Hat

Affected Software

14 affected componentsFixes available
libreswan Libreswan>=4.6<4.12
Microsoft cbl2 libreswan 4.7-5
Microsoft azl3 libreswan 4.7-7
Microsoft azl3 libreswan 4.7-6
alpine/libreswan>=4.6<4.12-r0
4.12-r0
alpine/libreswan>=4.6<4.12-r0
4.12-r0
alpine/libreswan>=4.6<4.12-r0
4.12-r0
alpine/libreswan>=4.6<4.12-r0
4.12-r0
alpine/libreswan>=4.6<4.12-r0
4.12-r0
alpine/libreswan>=4.6<4.12-r0
4.12-r0
redhat/libreswan<4.12
4.12
debian/libreswan*
debian/libreswan<4.12-1
4.12-1
debian/libreswan<=4.10-2+deb12u1
5.2-2.25.2-2.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/libreswan to a version that resolves this vulnerability.

    Fixed in 4.12-r0
  2. Upgrade

    Upgrade redhat/libreswan to a version that resolves this vulnerability.

    Fixed in 4.12
  3. Upgrade

    Upgrade debian/libreswan to a version that resolves this vulnerability.

    Fixed in 4.12-1
  4. Upgrade

    Upgrade debian/libreswan to a version that resolves this vulnerability.

    Fixed in 5.2-2.2Fixed in 5.2-2.5
  5. Upgrade

    Upgrade Libreswan to a version that resolves this vulnerability.

    Fixed in 4.12

Event History

Jun 19, 2023
Data Sourced
via Red Hat·01:16 PM
DescriptionSeverityAffected Software
Aug 25, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Aug 26, 2023
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-38711?

CVE-2023-38711 is a vulnerability in Libreswan versions before 4.12 that can cause a crash and restart of the pluto daemon when an IKEv1 Quick Mode connection receives an IDcr payload with ID_FQDN.

2

How severe is the CVE-2023-38711 vulnerability?

The severity of CVE-2023-38711 is high, with a CVSS severity score of 7.5.

3

Which versions of Libreswan are affected by CVE-2023-38711?

Libreswan versions from 4.6 to 4.12 are affected by CVE-2023-38711.

4

How can I fix the CVE-2023-38711 vulnerability?

To fix CVE-2023-38711, update Libreswan to version 4.12 or later.

5

Where can I find more information about CVE-2023-38711?

You can find more information about CVE-2023-38711 on the Libreswan GitHub page and the Libreswan security advisory page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203