Skip to main content
← All vulnerabilities
CVE-2023-27496

Envoy may crash when a redirect url without a state param is received in the oauth filter

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.3, 1.24.4, 1.23.6, 1.22.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9, the OAuth filter assumes that a `state` query param is present on any response that looks like an OAuth redirect response. Sending it a request with the URI path equivalent to the redirect path, without the `state` parameter, will lead to abnormal termination of Envoy process. Versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9 contain a patch. The issue can also be mitigated by locking down OAuth traffic, disabling the filter, or by filtering traffic before it reaches the OAuth filter (e.g. via a lua script).

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • envoyproxy envoy

    From 1.25.0 · fixed in 1.25.3; From 1.24.0 · fixed in 1.24.4; From 1.23.0 · fixed in 1.23.6; fixed in 1.22.9

References 1

GitHub · envoyproxy/envoy