CVE-2024-4741
Fixed in a distro release EPSS 3%CVSS 7.5
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.
Products: OpenSSL
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux:8 | openssl | 1:1.1.1k-16.el8_6 |
| AlmaLinux:8 | openssl-devel | 1:1.1.1k-16.el8_6 |
| AlmaLinux:8 | openssl-libs | 1:1.1.1k-16.el8_6 |
| AlmaLinux:8 | openssl-perl | 1:1.1.1k-16.el8_6 |
| AlmaLinux:9 | openssl | 1:3.2.2-6.el9_5 |
| AlmaLinux:9 | openssl-devel | 1:3.2.2-6.el9_5 |
| AlmaLinux:9 | openssl-libs | 1:3.2.2-6.el9_5 |
| AlmaLinux:9 | openssl-perl | 1:3.2.2-6.el9_5 |
| Alpine:v3.17 | openssl | 3.0.14-r0 |
| Alpine:v3.18 | openssl | 3.1.6-r0 |
| Alpine:v3.19 | openssl | 3.1.6-r0 |
| Alpine:v3.20 | openssl | 3.3.0-r3 |
| Alpine:v3.21 | openssl | 3.3.0-r3 |
| Alpine:v3.22 | openssl | 3.3.0-r3 |
| Alpine:v3.23 | openssl | 3.3.0-r3 |
| Alpine:v3.24 | openssl | 3.3.0-r3 |
| Chainguard | libcrypto3 | 3.3.1-r0 |
| Chainguard | libcrypto3-2.34 | 3.3.1-r0 |
| Chainguard | openssl | 3.3.1-r0 |
| Chainguard | openssl-provider-fips | 3.0.9-r1 |
| Chainguard | openssl-provider-fips-3.1.2 | 0 |
| Chainguard | openssl-provider-fips-3.1.2-dbg | 0 |
| Debian:11 | openssl | 1.1.1n-0+deb11u6 |
| Debian:11 | openssl | 1.1.1w-0+deb11u2 |
| Debian:12 | openssl | 3.0.14-1~deb12u1 |
| Debian:13 | openssl | 3.2.2-1 |
| Debian:14 | openssl | 3.2.2-1 |
| Red Hat:enterprise_linux:8 | openssl | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:8 | openssl-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:8 | openssl-debugsource | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:8 | openssl-devel | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:8 | openssl-libs | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:8 | openssl-libs-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:8 | openssl-perl | 1:1.1.1k-16.el8_6 |
| Red Hat:enterprise_linux:9 | openssl | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9 | openssl-debuginfo | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9 | openssl-debugsource | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9 | openssl-devel | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9 | openssl-libs | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9 | openssl-libs-debuginfo | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9 | openssl-perl | 1:3.2.2-6.el9_5 |
| Red Hat:rhel_e4s:8.8 | openssl | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_e4s:8.8 | openssl-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_e4s:8.8 | openssl-debugsource | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_e4s:8.8 | openssl-devel | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_e4s:8.8 | openssl-libs | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_e4s:8.8 | openssl-libs-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_e4s:8.8 | openssl-perl | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl-debugsource | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl-devel | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl-libs | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl-libs-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_eus_long_life:8.6 | openssl-perl | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl-debugsource | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl-devel | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl-libs | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl-libs-debuginfo | 1:1.1.1k-16.el8_6 |
| Red Hat:rhel_tus:8.8 | openssl-perl | 1:1.1.1k-16.el8_6 |
| Rocky Linux:8 | openssl | 1:1.1.1k-16.el8_10 |
| Rocky Linux:9 | openssl | 1:3.2.2-6.el9_5.1 |
| Rocky Linux:9 | openssl-fips-provider | 0:3.0.7-6.el9_5 |
| SUSE:Enterprise Storage 7.1 | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | openssl-1_1-livepatches | 0.4-150400.3.11.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | openssl-1_1-livepatches | 0.4-150500.6.8.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | openssl-1_1-livepatches | 0.5-150600.11.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | openssl-1_1-livepatches | 0.5-150700.13.3.1 |
| SUSE:Linux Enterprise Micro 5.1 | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise Micro 5.2 | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise Micro 5.3 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Linux Enterprise Micro 5.3 | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Linux Enterprise Micro 5.4 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Linux Enterprise Micro 5.4 | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Linux Enterprise Micro 5.5 | openssl-1_1 | 1.1.1l-150500.17.31.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | openssl-1_1 | 1.1.1l-150500.17.31.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | openssl-3 | 3.0.8-150500.5.36.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | openssl-1_1 | 1.1.1w-150600.5.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | openssl-3 | 3.1.4-150600.5.7.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | openssl-1_1 | 1.1.1w-150600.5.3.1 |
| SUSE:Linux Enterprise Module for Legacy 15 SP6 | openssl-1_1 | 1.1.1w-150600.5.3.1 |
| SUSE:Linux Enterprise Server 12 SP5 | openssl-1_1 | 1.1.1d-2.107.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | openssl-1_1 | 1.1.1d-2.107.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | openssl-1_1 | 1.1.1d-150200.11.91.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | openssl-1_1 | 1.1.1d-2.107.1 |
| SUSE:Linux Micro 6.0 | jitterentropy | 3.4.1-3.1 |
| SUSE:Linux Micro 6.0 | libpulp | 0.3.5-1.1 |
| SUSE:Linux Micro 6.0 | openssl-3 | 3.1.4-6.1 |
| SUSE:Manager Proxy 4.3 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Manager Proxy 4.3 | openssl-3 | 3.0.8-150400.4.57.1 |
| SUSE:Manager Server 4.3 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| SUSE:Manager Server 4.3 | openssl-3 | 3.0.8-150400.4.57.1 |
| Ubuntu:20.04:LTS | openssl | 1.1.1f-1ubuntu2.23 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.17 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 |
| Ubuntu:24.04:LTS | openssl | 3.0.13-0ubuntu3.2 |
| Ubuntu:Pro:14.04:LTS | openssl | no fix |
| Ubuntu:Pro:16.04:LTS | edk2 | no fix |
| Ubuntu:Pro:16.04:LTS | nodejs | no fix |
| Ubuntu:Pro:16.04:LTS | openssl | no fix |
| Ubuntu:Pro:18.04:LTS | edk2 | no fix |
| Ubuntu:Pro:18.04:LTS | nodejs | no fix |
| Ubuntu:Pro:18.04:LTS | openssl | no fix |
| Ubuntu:Pro:20.04:LTS | edk2 | no fix |
| Ubuntu:Pro:22.04:LTS | nodejs | no fix |
| Ubuntu:Pro:FIPS-preview:22.04:LTS | openssl | no fix |
| Ubuntu:Pro:FIPS-preview:22.04:LTS | openssl-fips | no fix |
| Ubuntu:Pro:FIPS-updates:16.04:LTS | openssl | no fix |
| Ubuntu:Pro:FIPS-updates:18.04:LTS | openssl | no fix |
| Ubuntu:Pro:FIPS-updates:22.04:LTS | openssl | 3.0.2-0ubuntu1.17+Fips1 |
| Ubuntu:Pro:FIPS-updates:22.04:LTS | openssl-fips | no fix |
| Ubuntu:Pro:FIPS-updates:24.04:LTS | openssl-fips | 3.0.13-0ubuntu3.6+Fips1 |
| Ubuntu:Pro:FIPS:16.04:LTS | openssl | no fix |
| Ubuntu:Pro:FIPS:18.04:LTS | openssl | no fix |
| Ubuntu:Pro:FIPS:20.04:LTS | openssl | no fix |
| Wolfi | libcrypto3 | 3.3.1-r0 |
| Wolfi | openssl | 3.3.1-r0 |
| openSUSE:Leap 15.5 | openssl-1_1 | 1.1.1l-150500.17.31.1 |
| openSUSE:Leap 15.5 | openssl-3 | 3.0.8-150500.5.36.1 |
| openSUSE:Leap 15.6 | openssl-1_1 | 1.1.1w-150600.5.3.1 |
| openSUSE:Leap 15.6 | openssl-3 | 3.1.4-150600.5.7.1 |
| openSUSE:Leap Micro 5.3 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| openSUSE:Leap Micro 5.3 | openssl-3 | 3.0.8-150400.4.57.1 |
| openSUSE:Leap Micro 5.4 | openssl-1_1 | 1.1.1l-150400.7.69.1 |
| openSUSE:Leap Micro 5.4 | openssl-3 | 3.0.8-150400.4.57.1 |
| openSUSE:Tumbleweed | openssl-1_1 | 1.1.1w-11.1 |
| openSUSE:Tumbleweed | openssl-3 | 3.1.4-11.1 |