Open Redirect Affecting envoyproxy/envoy package, versions [,1.22.9)[1.23.0,1.23.6)[1.24.0,1.24.4)[1.25.0,1.25.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.09% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ENVOYPROXYENVOY-5411427
  • published5 Apr 2023
  • disclosed5 Apr 2023
  • creditwanlill

Introduced: 5 Apr 2023

CVE-2023-27496  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade envoyproxy/envoy to version 1.22.9, 1.23.6, 1.24.4, 1.25.3 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect when 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 the Envoy process.

Workaround

The issue can also be mitigated by locking down OAuth traffic, disabling the filter, or filtering traffic before it reaches the OAuth filter (e.g., via a Lua script).

References

CVSS Scores

version 3.1