{"schemaVersion":3,"id":"CVE-2021-42306","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-11-24T01:05:13.000Z","modified":"2026-08-19T16:27:27.220Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03266,"percentile":0.88235,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03266},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03091,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03091,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03091,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03266,"percentile":0.88235}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03266,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03266,"percentile":0.88235}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-522","name":"Insufficiently Protected Credentials","description":"The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/522.html"}],"affected":[{"vendor":"microsoft","product":"azure_active_directory","name":"azure active directory","label":"azure_active_directory","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"-","noFixRecorded":false,"fixedIn":null},{"text":"< 2021-10-30","noFixRecorded":false,"fixedIn":null}],"versionsText":"- | < 2021-10-30","eol":null,"hubHref":"/vendor/microsoft/azure_active_directory"},{"vendor":"microsoft","product":"azure_active_site_recovery","name":"azure active site recovery","label":"azure_active_site_recovery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2021-11-01","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2021-11-01","eol":null,"hubHref":"/vendor/microsoft/azure_active_site_recovery"},{"vendor":"microsoft","product":"azure_automation","name":"azure automation","label":"azure_automation","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < publication","noFixRecorded":false,"fixedIn":null},{"text":"< 2021-10-15","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < publication | < 2021-10-15","eol":null,"hubHref":"/vendor/microsoft/azure_automation"},{"vendor":"microsoft","product":"azure_migrate","name":"azure migrate","label":"azure_migrate","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"-","noFixRecorded":false,"fixedIn":null},{"text":"< 2021-11-02","noFixRecorded":false,"fixedIn":null}],"versionsText":"- | < 2021-11-02","eol":null,"hubHref":"/vendor/microsoft/azure_migrate"},{"vendor":"microsoft","product":"azure_site_recovery","name":"azure site recovery","label":"azure_site_recovery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"-","noFixRecorded":false,"fixedIn":null}],"versionsText":"-","eol":null,"hubHref":"/vendor/microsoft/azure_site_recovery"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42306","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42306","hostname":"msrc.microsoft.com","tags":["Vendor Advisory","Patch"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-42306","label":"portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-42306","hostname":"portal.msrc.microsoft.com","tags":["X Refsource MISC","X Transferred","Patch","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-11-24T01:05:13.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-19T16:27:27.220Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:22:11.228Z","stale":false,"partial":false}}