Incorrect Authorization Affecting envoyproxy/envoy package, versions [1.16.0,1.16.5)[1.17.0,1.17.4)[1.18.0,1.18.4)[1.19.0,1.91.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.11% (45th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ENVOYPROXYENVOY-2365520
  • published26 Jan 2022
  • disclosed24 Aug 2021
  • creditUnknown

Introduced: 24 Aug 2021

CVE-2021-32777  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade envoyproxy/envoy to version 1.16.5, 1.17.4, 1.18.4, 1.91.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization. Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions when ext-authz extension is sending request headers to the external authorization service it must merge multiple value headers according to the HTTP spec. However, only the last header value is sent. This may allow specifically crafted requests to bypass authorization. Attackers may be able to escalate privileges when using ext-authz extension or back end service that uses multiple value headers for authorization. A specifically constructed request may be delivered by an untrusted downstream peer in the presence of ext-authz extension. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes to the ext-authz extension to correctly merge multiple request header values, when sending request for authorization.

CVSS Scores

version 3.1