Vulnerability · Published Jul 25, 2023 · Assigned by GitHub_M

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

Medium 6.3

In plain English

A medium-severity use-after-free in envoy from envoyproxy. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.7%top 48.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
envoyproxy envoy >= 1.26.0, < 1.26.4>= 1.25.0, < 1.25.9>= 1.24.0, < 1.24.10< 1.23.12

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H

References