Bug 2268952 (CVE-2024-2357) - CVE-2024-2357 libreswan: Missing PreSharedKey for connection can cause crash
Summary: CVE-2024-2357 libreswan: Missing PreSharedKey for connection can cause crash
Keywords:
Status: NEW
Alias: CVE-2024-2357
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2269563
Blocks: 2268953
TreeView+ depends on / blocked
 
Reported: 2024-03-11 05:44 UTC by Avinash Hanwate
Modified: 2024-04-30 14:40 UTC (History)
1 user (show)

Fixed In Version: libreswan 4.13, libreswan 5.0
Doc Type: ---
Doc Text:
A flaw was found in Libreswan. This issue causes Libreswan to restart under some IKEv2 retransmit scenarios when a connection is configured to use PreSharedKeys (authby=secret), and the connection cannot find a matching configured secret. When automatically added on startup using the auto= keyword, it can cause repeated crashes, leading to a denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:2033 0 None None None 2024-04-24 06:48:55 UTC
Red Hat Product Errata RHSA-2024:2081 0 None None None 2024-04-29 01:56:42 UTC
Red Hat Product Errata RHSA-2024:2082 0 None None None 2024-04-29 02:27:24 UTC
Red Hat Product Errata RHSA-2024:2085 0 None None None 2024-04-29 02:17:00 UTC
Red Hat Product Errata RHSA-2024:2565 0 None None None 2024-04-30 14:40:22 UTC

Description Avinash Hanwate 2024-03-11 05:44:19 UTC
When an IKEv2 state would fail to find its own PreSharedKey (secret) to create the AUTH payload in the IKE_AUTH Exchange, it would omit sending a packet, but would not delete the state. When this state is referenced later, it would cause an assertion failure and crash and restart the pluto daemon.

https://libreswan.org/security/CVE-2024-2357
https://github.com/libreswan/libreswan/commit/cb9e1047d33fde695d63a95854c2bc2470a476c8.patch

Comment 3 Dhananjay Arunesh 2024-03-14 16:24:28 UTC
Created libreswan tracking bugs for this issue:

Affects: fedora-all [bug 2269563]

Comment 5 errata-xmlrpc 2024-04-24 06:48:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2033 https://access.redhat.com/errata/RHSA-2024:2033

Comment 6 errata-xmlrpc 2024-04-29 01:56:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:2081 https://access.redhat.com/errata/RHSA-2024:2081

Comment 7 errata-xmlrpc 2024-04-29 02:16:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:2085 https://access.redhat.com/errata/RHSA-2024:2085

Comment 8 errata-xmlrpc 2024-04-29 02:27:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:2082 https://access.redhat.com/errata/RHSA-2024:2082

Comment 9 errata-xmlrpc 2024-04-30 14:40:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2565 https://access.redhat.com/errata/RHSA-2024:2565


Note You need to log in before you can comment on or make changes to this bug.