{"id":"GHSA-p82q-rxpm-hjpc","summary":"AAD Pod Identity obtaining token with backslash","details":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nThe [NMI](https://azure.github.io/aad-pod-identity/docs/concepts/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](https://learn.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service?tabs=windows) allowing a pod in the cluster to access identities that it shouldn't have access to.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n- We analyzed this bug and determined that we needed to fix it. This fix has been included in AAD Pod Identity release [v1.8.13](https://github.com/Azure/aad-pod-identity/releases/tag/v1.8.13)\n- If using the [AKS pod-managed identities add-on](https://learn.microsoft.com/en-us/azure/aks/use-azure-ad-pod-identity), no action is required. The clusters should now be running the `v1.8.13` release.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [Azure/aad-pod-identity](https://github.com/Azure/aad-pod-identity)\n","aliases":["CVE-2022-23551","GO-2022-1181"],"modified":"2024-08-21T16:28:54.895206Z","published":"2022-12-21T18:48:22Z","database_specific":{"cwe_ids":["CWE-863"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-12-21T18:48:22Z","nvd_published_at":"2022-12-21T20:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/Azure/aad-pod-identity/security/advisories/GHSA-p82q-rxpm-hjpc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23551"},{"type":"WEB","url":"https://github.com/Azure/aad-pod-identity/commit/7e01970391bde6c360d077066ca17d059204cb5d"},{"type":"PACKAGE","url":"https://github.com/Azure/aad-pod-identity"},{"type":"WEB","url":"https://github.com/Azure/aad-pod-identity/releases/tag/v1.8.13"}],"affected":[{"package":{"name":"github.com/Azure/aad-pod-identity","ecosystem":"Go","purl":"pkg:golang/github.com/Azure/aad-pod-identity"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-p82q-rxpm-hjpc/GHSA-p82q-rxpm-hjpc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L"}]}