Skip to content
OpenAdvisories
High · 8.6 CVE-2023-35941 EUVD-2023-39925

Envoy vulnerable to OAuth2 credentials exploit with permanent validity

Published Jul 25, 2023 · Updated Oct 24, 2024 · Assigned by GitHub_M

Description

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12, a malicious client is able to construct credentials with permanent validity in some specific scenarios. This is caused by the some rare scenarios in which HMAC payload can be always valid in OAuth2 filter's check. Versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, and 1.23.12 have a fix for this issue. As a workaround, avoid wildcards/prefix domain wildcards in the host's domain configuration.

Affected products

VendorProductAffectedFixed
envoyproxy envoy >= 1.26.0, < 1.26.4, >= 1.25.0, < 1.25.9, >= 1.24.0, < 1.24.10, < 1.23.12 —

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.

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ecs-service-connect-agent v1.26.4.0-1.amzn2023 ALAS2023-2023-300

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 istio +1 1.17.5-1.el9 ELSA-2023-12771
Oracle Linux 9 olcnectl +15 1.7.2-2.el9 ELSA-2023-12771
Oracle Linux 9 virtctl 0.58.0-3.el9 ELSA-2023-12771
Oracle Linux 8 istio +1 1.16.7-1.el8 ELSA-2023-12780, ELSA-2023-12772
Oracle Linux 8 olcne-rook-chart +1 1.7.2-3.el8 ELSA-2023-12772
Oracle Linux 8 olcnectl +13 1.6.3-1.el8 ELSA-2023-12780, ELSA-2023-12772
Oracle Linux 8 virtctl 0.58.0-3.el8 ELSA-2023-12772
Oracle Linux 7 istio +1 1.16.7-1.el7 ELSA-2023-12781
Oracle Linux 7 olcnectl +13 1.6.3-1.el7 ELSA-2023-12781

Advisories 6

References