Use After Free in Envoyproxy Envoy

CVE-2024-32974

Envoy is a cloud-native, open source edge and service proxy. A crash was observed in `EnvoyQuicServerStream::OnInitialHeadersComplete()` with following call stack. It is a use-after-free caused by QUICHE continuing push request headers after `StopReading()` being called on the stream. As after `StopReading()`, the HCM's `ActiveStream` might have already be destroyed and any up calls from QUICHE could potentially cause use after free.

Vulnerability class: Use-After-Free

EPSS: 0.007 (49.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Envoyproxy Envoy — versions >= 1.30.0, <= 11.30.1, >= 1.29.0, <= 1.29.4, >= 1.28.0, <= 1.28.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-32974?
CVE-2024-32974 is a medium-severity vulnerability in Envoyproxy Envoy, classified under Use After Free. CVSS score: 5.9/10. Published 2024-06-04.
How severe is CVE-2024-32974?
Medium severity. CVSS v3 base score is 5.9 out of 10.