CVE-2021-32777

Incorrect concatenation of multiple value request headers in ext-authz extension

State
Published
Severity
8.6 High
Published
Aug 24, 2021
Updated
Aug 3, 2024
Reserved
May 12, 2021

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
  • CWE-863 Incorrect Authorization

Affected Products

ProductVersions
envoyenvoyproxy
  • >= 1.19.0, < 1.19.1Affected
  • >= 1.18.0, < 1.18.4Affected
  • >= 1.17.0, < 1.17.4Affected
  • >= 1.16.0, < 1.16.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.