What’s Vulnerable › Vulnerabilities

CVE-2023-35943: Envoy vulnerable to CORS filter segfault when origin header is removed

Description

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12, the CORS filter will segfault and crash Envoy when the `origin` header is removed and deleted between `decodeHeaders`and `encodeHeaders`. Versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12 have a fix for this issue. As a workaround, do not remove the `origin` header in the Envoy configuration.

Affected products

How to fix

Upgrade to a fixed version: envoyproxy envoy 1.23.12, 1.24.10, 1.25.9, 1.26.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-35943 or the next vulnerability affects your stack