Vulnerability · Published Dec 21, 2022 · Assigned by GitHub_M

CVE-2022-23551AAD Pod Identity obtaining token with backslash

Medium 5.3

In plain English

A medium-severity incorrect authorization in aad-pod-identity from Azure. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.8%top 44.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/Azure/aad-pod-identity1.8.13GHSA-p82q-rxpm-hjpc
Gogithub.com/Azure/aad-pod-identity1.8.13GO-2022-1181

Affected products (as reported)

VendorProductVersions
Azure aad-pod-identity < 1.8.13

Weakness: CWE-1259, CWE-863 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L

References