{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2021-42306 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-42306 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-42306 is a high-severity vulnerability in Microsoft Azure Active Directory, published on 24 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-42306 and fix it if it is affected.\n\nWhat it is: CVE-2021-42306 is a high-severity vulnerability in Microsoft Azure Active Directory, published on 24 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-42306 in the wild and no public exploit code.\n\nAffected product: Microsoft Azure Active Directory. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-42306/ (Markdown: https://insights.sbomify.com/CVE-2021-42306/index.md)","id":"CVE-2021-42306","markdown":"https://insights.sbomify.com/CVE-2021-42306/index.md","name":"CVE-2021-42306","record":{"aliases":["GHSA-vxjx-p5m9-q5fr"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Azure Active Directory","requires_auth":"low_privilege","summary":"Attackers with application read access can view private keys uploaded to Azure AD applications, exposing sensitive authentication credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"azure_active_directory","vendor":"microsoft"},{"product":"azure_active_site_recovery","vendor":"microsoft"},{"product":"azure_automation","vendor":"microsoft"},{"product":"azure_migrate","vendor":"microsoft"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"An information disclosure vulnerability manifests when a user or an application uploads unprotected private key data as part of an authentication certificate keyCredential  on an Azure AD Application or Service Principal (which is not recommended). This vulnerability allows a user or service in the tenant with application read access to read the private key data that was added to the application.\nAzure AD addressed this vulnerability by preventing disclosure of any private key values added to the application.\nMicrosoft has identified services that could manifest this vulnerability, and steps that customers should take to be protected. Refer to the FAQ section for more information.\nFor more details on this issue, please refer to the MSRC Blog Entry.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Azure Active Directory Information Disclosure Vulnerability","id":"CVE-2021-42306","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Microsoft Edge (Chromium-based) Information Disclosure Vulnerability","id":"CVE-2021-42307"},"packages":[],"prev":{"headline":"Microsoft Exchange Server Spoofing Vulnerability","id":"CVE-2021-42305"},"products":["Azure Active Directory","Azure Automation","Azure Migrate","Azure Site Recovery"],"published":"2021-11-24","related":[{"cvss_score":10,"headline":"Azure Active Directory Elevation of Privilege Vulnerability","id":"CVE-2026-45480","kev_date_added":null,"published":"2026-06-19"},{"cvss_score":9.9,"headline":"Azure Active Directory Elevation of Privilege Vulnerability","id":"CVE-2026-50481","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":6.8,"headline":"Microsoft Azure Active Directory B2C Spoofing Vulnerability","id":"CVE-2024-21381","kev_date_added":null,"published":"2024-02-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-08-19","vendors":["Microsoft"]},"summary":"Attackers with application read access can view private keys uploaded to Azure AD applications, exposing sensitive authentication credentials.","url":"https://insights.sbomify.com/CVE-2021-42306/"}