Skip to content
OpenAdvisories
High · 8.6 CVE-2021-32777 EUVD-2021-19541

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

Published Aug 24, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
envoyproxy envoy >= 1.19.0, < 1.19.1, >= 1.18.0, < 1.18.4, >= 1.17.0, < 1.17.4, >= 1.16.0, < 1.16.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Service Mesh 2 servicemesh +6 2.0.7-3.el8 RHSA-2021:3272
Red Hat Service Mesh 1 servicemesh +8 1.1.17-3.el8 RHSA-2021:3273
Red Hat Service Mesh 1 servicemesh-proxy 1.1.17-2.el8 RHSA-2021:3273

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 istio +1 1.10.4-3.el8 ELSA-2021-9546
Oracle Linux 8 kubeadm +2 1.20.11-4.el8 ELSA-2021-9546
Oracle Linux 8 olcnectl +8 1.3.2-2.el8 ELSA-2021-9546
Oracle Linux 7 istio +3 1.9.8-3.el8 ELSA-2021-9526, ELSA-2021-9525
Oracle Linux 7 kubeadm +2 1.20.11-4.el7 ELSA-2021-9526
Oracle Linux 7 olcne-olm-chart +1 1.3.2-2.el7 ELSA-2021-9526
Oracle Linux 7 olcnectl +6 1.2.5-2.el8 ELSA-2021-9526, ELSA-2021-9525

Advisories 5

References