Description
opa-envoy-plugun is a plugin to enforce OPA policies with Envoy. Versions prior to 1.13.2-envoy-2 have a vulnerability in how the `input.parsed_path` field is constructed. HTTP request paths are treated as full URIs when parsed; interpreting leading path segments prefixed with double slashes (`//`) as authority components, and therefore dropping them from the parsed path. This creates a path interpretation mismatch between authorization policies and backend servers, enabling attackers to bypass access controls by crafting requests where the authorization filter evaluates a different path than the one ultimately served. Version 1.13.2-envoy-2 fixes the issue.
Problem types
CWE-863: Incorrect Authorization
Product status
References
github.com/...plugin/security/advisories/GHSA-9f29-v6mm-pw6w
github.com/...ommit/58c44d4ec408d5852d1d0287599e7d5c5e2bc5c3
github.com/.../opa-envoy-plugin/releases/tag/v1.13.2-envoy-2