Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Azure/aad-pod-identity
  4. ›
  5. CVE-2022-23551

CVE-2022-23551: Improper Restriction of Security Token Assignment

December 21, 2022 (updated January 4, 2023)

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.

References

  • github.com/Azure/aad-pod-identity/commit/7e01970391bde6c360d077066ca17d059204cb5d
  • github.com/Azure/aad-pod-identity/releases/tag/v1.8.13
  • github.com/Azure/aad-pod-identity/security/advisories/GHSA-p82q-rxpm-hjpc
  • github.com/advisories/GHSA-p82q-rxpm-hjpc
  • nvd.nist.gov/vuln/detail/CVE-2022-23551

Code Behaviors & Features

Detect and mitigate CVE-2022-23551 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.13

Fixed versions

  • v1.8.13

Solution

Upgrade to version 1.8.13 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L

Learn more about CVSS

Source file

go/github.com/Azure/aad-pod-identity/CVE-2022-23551.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.