Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-23551 EUVD-2022-7701GHSA-p82q-rxpm-hjpcGO-2022-1181

AAD Pod Identity obtaining token with backslash

Published Dec 21, 2022 · Updated Apr 15, 2025 · Assigned by GitHub_M

Description

aad-pod-identity assigns Azure Active Directory identities to Kubernetes applications and has now been deprecated as of 24 October 2022. The NMI component in AAD Pod Identity intercepts and validates token requests based on regex. In this case, a token request made with backslash in the request (example: `/metadata/identity\oauth2\token/`) would bypass the NMI validation and be sent to IMDS allowing a pod in the cluster to access identities that it shouldn't have access to. This issue has been fixed and has been included in AAD Pod Identity release version 1.8.13. If using the AKS pod-managed identities add-on, no action is required. The clusters should now be running the version 1.8.13 release.

Affected products

VendorProductAffectedFixed
Azure aad-pod-identity < 1.8.13 —

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.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) nmi 1.8.17-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/Azure/aad-pod-identity < 1.8.13 1.8.13 GHSA-p82q-rxpm-hjpc

References