{"id":"CVE-2022-30187","aliases":["CVE-2022-30187","GHSA-64x4-9hc6-r2h6","PYSEC-2026-2388","PYSEC-2026-784"],"related":[],"kind":"vulnerability","state":"published","title":"Azure Storage Library Information Disclosure Vulnerability","summary":"Azure Storage Library Information Disclosure Vulnerability","summarySource":"cvelist","descriptions":[{"lang":"en-US","text":"Azure Storage Library Information Disclosure Vulnerability","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe Azure Storage Encryption library in Java and other languages is vulnerable to a CBC Padding Oracle attack, similar to CVE-2020-8911. The library is not vulnerable to the equivalent of CVE-2020-8912, but only because it currently only supports AES-CBC as encryption mode. \n\n### Severity\n\nModerate - The vulnerability poses insider risks/privilege escalation risks, circumventing controls for stored data.\n\n### Further Analysis\nThe Java Azure Blob Storage Encryption SDK is impacted by an issue that can result in loss of confidentiality and message forgery. The attack requires write access to the container in question, and that the attacker has access to an endpoint that reveals decryption failures (without revealing the plaintext) and that when encrypting the CBC option was chosen as content cipher.\n\nThis advisory describes the plaintext revealing vulnerabilities in the Java Azure Blob Storage Encryption SDK, with a similar issue in the other blob storage SDKs being present as well.\n\nIn the current version of the Azure Blob Storage crypto SDK, the only algorithm option that allows users to encrypt files is to AES-CBC, without computing a MAC on the data.\n\nThis exposes a padding oracle vulnerability: If the attacker has write access to the blob container bucket and can observe whether or not an endpoint with access to the key can decrypt a file (without observing the file contents that the endpoint learns in the process), they can reconstruct the plaintext with (on average) 128*length(plaintext) queries to the endpoint, by exploiting CBC's ability to manipulate the bytes of the next block and PKCS5 padding errors.\n\n### Timeline\n**Date reported**: March 29 2022\n**Date preview**: June 16 2022\n**Date GA**: July 11 2022\n**Date disclosed**: July 17 2022","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una Vulnerabilidad de Divulgación de Información de Azure Storage Library","source":"nvd"}],"published":"2022-07-12T22:37:25.000Z","modified":"2026-07-13T16:43:23.967Z","severity":{"scorer":"microsoft","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"microsoft","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","score":1.9,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-327","CWE-668"],"affected":[{"ranges":[{"type":"custom","introduced":"12.0.0","fixed":"12.13.0","status":"affected"}],"vendor":"Microsoft","product":"Azure Storage Blobs client library for .NET","platforms":["Unknown"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"12.0.0","fixed":"12.13.0","status":"affected"}],"vendor":"Microsoft","product":"Azure Storage Queues client library for .NET","platforms":["Unknown"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"12.0.0","fixed":"12.18.0","status":"affected"}],"vendor":"Microsoft","product":"Azure Storage Blobs client library for Java","platforms":["Unknown"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"12.0.0","fixed":"12.4.0","status":"affected"}],"vendor":"Microsoft","product":"Azure Storage Queues client library for Python","platforms":["Unknown"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"12.0.0","fixed":"12.13.0","status":"affected"}],"vendor":"Microsoft","product":"Azure Storage Blobs client library for Python","platforms":["Unknown"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.11.0"}],"ecosystem":"NuGet","package":"Azure.Storage.Queues","purl":"pkg:nuget/Azure.Storage.Queues","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.13.0"}],"ecosystem":"NuGet","package":"Azure.Storage.Blobs","purl":"pkg:nuget/Azure.Storage.Blobs","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.18.0"}],"ecosystem":"Maven","package":"com.azure:azure-storage-blob","purl":"pkg:maven/com.azure/azure-storage-blob","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.4.0"}],"ecosystem":"PyPI","package":"azure-storage-queue","purl":"pkg:pypi/azure-storage-queue","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.13.0"}],"ecosystem":"PyPI","package":"azure-storage-blob","purl":"pkg:pypi/azure-storage-blob","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"12.13.0"},{"status":"affected","fixed":"12.13.0"},{"status":"affected","fixed":"12.18.0"}],"vendor":"microsoft","product":"azure_storage_blobs","cpe":"cpe:2.3:a:microsoft:azure_storage_blobs:*:*:*:*:*:.net:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"12.4.0"},{"status":"affected","fixed":"12.11.0"}],"vendor":"microsoft","product":"azure_storage_queue","cpe":"cpe:2.3:a:microsoft:azure_storage_queue:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.4.0"}],"ecosystem":"PyPI","package":"azure-storage-queue","purl":"pkg:pypi/azure-storage-queue","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.13.0"}],"ecosystem":"PyPI","package":"azure-storage-blob","purl":"pkg:pypi/azure-storage-blob","source":"pysec"}],"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-30187","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/google/security-research/security/advisories/GHSA-6m8q-r22q-vfxh","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30187","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-30187","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/azure-storage-queue","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-64x4-9hc6-r2h6","tags":["advisory"],"sources":["pysec"]},{"url":"https://pypi.org/project/azure-storage-blob","tags":["package"],"sources":["pysec"]}],"credits":[],"assigner":"microsoft","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-09-11T16:01:30.313Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30187","url":"https://www.cve.org/CVERecord?id=CVE-2022-30187","licence":"CVE Terms of Use","modified":"2025-07-08T15:35:58.676Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-64x4-9hc6-r2h6","url":"https://github.com/advisories/GHSA-64x4-9hc6-r2h6","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:23.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30187","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30187","licence":"Public domain","modified":"2026-06-17T04:43:13.360Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2388","url":"https://osv.dev/vulnerability/PYSEC-2026-2388","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:23.967Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-784","url":"https://osv.dev/vulnerability/PYSEC-2026-784","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:23.967Z"}],"updatedAt":"2026-11-25T22:58:12.900Z","epss":{"score":0.00571,"percentile":0.48611,"date":"2026-12-01T12:00:22.000Z"}}