Use After Free with SSL_free_buffers
Summary
Vulnerability reported (CVE-2024-4741). Risk of unauthorized operations or information disclosure.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2024-4741 has been found.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "CVE-2024-4741" on the vendor's site.
CVE-2024-4741 — CWE-416
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Use-after-free (CWE-416) has been reported.
Check the vendor advisory for the affected versions.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで影響コンポーネントを特定する。
-
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| OpenSSLOpenSSL |
≥ 3.3.0, < 3.3.1→ 3.3.1 ≥ 3.2.0, < 3.2.2→ 3.2.2 ≥ 3.1.0, < 3.1.6→ 3.1.6 ≥ 3.0.0, < 3.0.14→ 3.0.14 ≥ 1.1.1, < 1.1.1y→ 1.1.1y |
3.3.1 3.2.2 3.1.6 3.0.14 1.1.1y |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2024-4741 openssl Fix available
- BellSoft Alpaquita BELL-CVE-2024-4741 openssl Fix available
- Debian DEBIAN-CVE-2024-4741 openssl Fix available
- Ubuntu UBUNTU-CVE-2024-4741 openssl-fips, openssl, edk2 Fix available
Original description The description as published by the source.
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 at…
References
- advisory github.com
- advisory nvd.nist.gov
- advisory security.netapp.com
- advisory openssl.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.openssl.org
- web lists.debian.org
- web lists.debian.org