Bugzilla – Bug 1225551
VUL-0: CVE-2024-4741: openssl-1_1,openssl-3: Use After Free with SSL_free_buffers
Last modified: 2024-07-25 12:57:09 UTC
OpenSSL Security Advisory [28th May 2024] ========================================= Use After Free with SSL_free_buffers (CVE-2024-4741) ==================================================== Severity: Low Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause memory to be accessed that was previously freed in some situations Impact summary: A use after free can have a range of potential consequences such as the corruption of valid data, crashes or execution of arbitrary code. However, only applications that directly call the SSL_free_buffers function are affected by this issue. Applications that do not call this function are not vulnerable. Our investigations indicate that this function is rarely used by applications. The SSL_free_buffers function is used to free the internal OpenSSL buffer used when processing an incoming record from the network. The call is only expected to succeed if the buffer is not currently in use. However, two scenarios have been identified where the buffer is freed even when still in use. The first scenario occurs where a record header has been received from the network and processed by OpenSSL, but the full record body has not yet arrived. In this case calling SSL_free_buffers will succeed even though a record has only been partially processed and the buffer is still in use. The second scenario occurs where a full record containing application data has been received and processed by OpenSSL but the application has only read part of this data. Again a call to SSL_free_buffers will succeed even though the buffer is still in use. While these scenarios could occur accidentally during normal operation a malicious attacker could attempt to engineer a stituation where this occurs. We are not aware of this issue being actively exploited. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. OpenSSL 1.0.2 is also not affected by this issue. OpenSSL 3.3, 3.2, 3.1, 3.0 and 1.1.1 are vulnerable to this issue. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-4741 https://github.com/openssl/openssl/commit/c1bd38a003fa19fd0d8ade85e1bbc20d8ae59dab https://github.com/openssl/openssl/commit/05752478df623a9ddf849f897b630c1e0728cb7c https://github.com/openssl/openssl/commit/566f3069169b9fab4fbb23da98c3c91730dd5209 https://github.com/openssl/openssl/commit/bfb8128190632092b3a66465838b87b469455cec https://github.com/openssl/openssl/commit/38690cab18de88198f46478565fab423cf534efa
fwiw i disagree with Low rating, it is more High for me. As we have no idea if not a Network facing service could run SSL_free_buffers
Created attachment 875302 [details] 0001-Set-rl-packet-to-NULL-after-we-ve-finished-using-it.patch tried a backport. this is for 3.0.8.
Created attachment 875303 [details] openssl-1_1-0001-Set-rl-packet-to-NULL-after-we-ve-finished-using-it.patch openssl-1_1-0001-Set-rl-packet-to-NULL-after-we-ve-finished-using-it.patch tried a backport to openssl 1.1 of 15-sp5.
SUSE-SU-2024:2020-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34226](https://smelt.suse.de/incident/34226/) Sources used: openSUSE Leap 15.5 (src): openssl-3-3.0.8-150500.5.36.1 Basesystem Module 15-SP5 (src): openssl-3-3.0.8-150500.5.36.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2036-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34288](https://smelt.suse.de/incident/34288/) Sources used: SUSE Linux Enterprise Software Development Kit 12 SP5 (src): openssl-1_1-1.1.1d-2.107.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): openssl-1_1-1.1.1d-2.107.1 SUSE Linux Enterprise Server 12 SP5 (src): openssl-1_1-1.1.1d-2.107.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): openssl-1_1-1.1.1d-2.107.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2035-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34287](https://smelt.suse.de/incident/34287/) Sources used: SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Enterprise Storage 7.1 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Micro 5.1 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Micro 5.2 (src): openssl-1_1-1.1.1d-150200.11.91.1 SUSE Linux Enterprise Micro for Rancher 5.2 (src): openssl-1_1-1.1.1d-150200.11.91.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2051-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34285](https://smelt.suse.de/incident/34285/) Sources used: SUSE Linux Enterprise Micro 5.5 (src): openssl-1_1-1.1.1l-150500.17.31.1 Basesystem Module 15-SP5 (src): openssl-1_1-1.1.1l-150500.17.31.1 openSUSE Leap 15.5 (src): openssl-1_1-1.1.1l-150500.17.31.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2066-1: An update that solves two vulnerabilities and has two security fixes can now be installed. Category: security (important) Bug References: 1223428, 1224388, 1225291, 1225551 CVE References: CVE-2024-4603, CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34167](https://smelt.suse.de/incident/34167/) Sources used: openSUSE Leap 15.6 (src): openssl-3-3.1.4-150600.5.7.1 Basesystem Module 15-SP6 (src): openssl-3-3.1.4-150600.5.7.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2059-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34284](https://smelt.suse.de/incident/34284/) Sources used: openSUSE Leap 15.6 (src): openssl-1_1-1.1.1w-150600.5.3.1 Basesystem Module 15-SP6 (src): openssl-1_1-1.1.1w-150600.5.3.1 Development Tools Module 15-SP6 (src): openssl-1_1-1.1.1w-150600.5.3.1 Legacy Module 15-SP6 (src): openssl-1_1-1.1.1w-150600.5.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2089-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34286](https://smelt.suse.de/incident/34286/) Sources used: openSUSE Leap 15.4 (src): openssl-1_1-1.1.1l-150400.7.69.1 openSUSE Leap Micro 5.3 (src): openssl-1_1-1.1.1l-150400.7.69.1 openSUSE Leap Micro 5.4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Micro 5.3 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Micro 5.4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Manager Proxy 4.3 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Manager Retail Branch Server 4.3 (src): openssl-1_1-1.1.1l-150400.7.69.1 SUSE Manager Server 4.3 (src): openssl-1_1-1.1.1l-150400.7.69.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2024:2088-1: An update that solves one vulnerability can now be installed. Category: security (important) Bug References: 1225551 CVE References: CVE-2024-4741 Maintenance Incident: [SUSE:Maintenance:34283](https://smelt.suse.de/incident/34283/) Sources used: openSUSE Leap 15.4 (src): openssl-3-3.0.8-150400.4.57.1 openSUSE Leap Micro 5.3 (src): openssl-3-3.0.8-150400.4.57.1 openSUSE Leap Micro 5.4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Micro 5.3 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Micro 5.4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Manager Proxy 4.3 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Manager Retail Branch Server 4.3 (src): openssl-3-3.0.8-150400.4.57.1 SUSE Manager Server 4.3 (src): openssl-3-3.0.8-150400.4.57.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.