Azure Storage Library Information Disclosure Vulnerability
Description
The Azure Storage Encryption SDK is vulnerable to a CBC padding oracle attack, letting an attacker with write access to a blob container decrypt stored data without the key.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
The Azure Storage Encryption SDK is vulnerable to a CBC padding oracle attack, letting an attacker with write access to a blob container decrypt stored data without the key.
Vulnerability
Overview
The Azure Storage Encryption library (the Java SDK and other language SDKs) contains a vulnerability that enables a CBC padding oracle attack [2]. This class of attack, similar to CVE-2020-8911, allows an attacker to recover plaintext from encrypted data by observing whether decryption succeeds or fails. The library currently only supports AES-CBC as the encryption mode and does not compute a Message Authentication Code (MAC) on the encrypted data, which leaves the ciphertext open to manipulation [2].
Exploitation
Prerequisites and Method
To exploit CVE-2022-30187, an attacker must have write access to the target blob storage container and access to an endpoint that reveals decryption failures (without returning the decrypted plaintext) [2]. With these prerequisites, the attacker can send modified ciphertext to the endpoint and observe padding errors. By exploiting the structure of CBC mode and PKCS#5 padding, the attacker can recover the plaintext block by block, requiring on average 128 queries per byte of plaintext [2].
Impact
An attacker who successfully exploits this vulnerability can learn the contents of encrypted blobs stored in Azure Storage. This is an information disclosure that compromises the confidentiality of the data, even though the attacker does not know the encryption key [2]. The severity is rated as Moderate, though it poses insider risks and can circumvent controls designed to protect stored data [2].
Mitigation
Status
Microsoft released an update to the Azure Storage SDKs on July 11, 2022, and the vulnerability was publicly disclosed on July 17, 2022 [1][2]. Users should update to the latest version of the SDK. No workaround is available other than applying the patch or using a different encryption mode if supported [2].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Azure.Storage.QueuesNuGet | < 12.11.0 | 12.11.0 |
Azure.Storage.BlobsNuGet | < 12.13.0 | 12.13.0 |
com.azure:azure-storage-blobMaven | < 12.18.0 | 12.18.0 |
azure-storage-queuePyPI | < 12.4.0 | 12.4.0 |
azure-storage-blobPyPI | < 12.13.0 | 12.13.0 |
Affected products
34- ghsa-coords29 versionspkg:maven/com.azure/azure-storage-blobpkg:nuget/azure.storage.blobspkg:nuget/azure.storage.queuespkg:pypi/azure-storage-blobpkg:pypi/azure-storage-queuepkg:rpm/opensuse/python-azure-core&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-azure-core&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/python-azure-storage-blob&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-azure-storage-blob&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/python-azure-storage-blob&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-azure-core&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012pkg:rpm/suse/python-azure-core&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1pkg:rpm/suse/python-azure-core&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2pkg:rpm/suse/python-azure-core&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3pkg:rpm/suse/python-azure-core&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4pkg:rpm/suse/python-azure-core&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5pkg:rpm/suse/python-azure-storage-blob&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012pkg:rpm/suse/python-azure-storage-blob&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1pkg:rpm/suse/python-azure-storage-blob&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2pkg:rpm/suse/python-azure-storage-blob&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3pkg:rpm/suse/python-azure-storage-blob&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4pkg:rpm/suse/python-azure-storage-blob&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5pkg:rpm/suse/python-azure-storage-queue&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012pkg:rpm/suse/python-azure-storage-queue&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1pkg:rpm/suse/python-azure-storage-queue&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2pkg:rpm/suse/python-typing_extensions&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012pkg:rpm/suse/python-typing_extensions&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1pkg:rpm/suse/python-typing_extensions&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2pkg:rpm/suse/python-typing_extensions&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3
< 12.18.0+ 28 more
- (no CPE)range: < 12.18.0
- (no CPE)range: < 12.13.0
- (no CPE)range: < 12.11.0
- (no CPE)range: < 12.13.0
- (no CPE)range: < 12.4.0
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.24.1-1.1
- (no CPE)range: < 1.23.1-2.12.8
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 1.23.1-150100.3.13.1
- (no CPE)range: < 12.13.1-2.10.8
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.13.1-150100.3.10.1
- (no CPE)range: < 12.4.0-2.10.8
- (no CPE)range: < 12.4.0-150100.3.7.1
- (no CPE)range: < 12.4.0-150100.3.7.1
- (no CPE)range: < 3.10.0.0-2.6.1
- (no CPE)range: < 3.10.0.0-150100.3.5.1
- (no CPE)range: < 3.10.0.0-150100.3.5.1
- (no CPE)range: < 3.10.0.0-150100.3.5.1
- Microsoft/Azure Storage Blobs client library for Javav5Range: 12.0.0
- Microsoft/Azure Storage Blobs client library for .NETv5Range: 12.0.0
- Microsoft/Azure Storage Blobs client library for Pythonv5Range: 12.0.0
- Microsoft/Azure Storage Queues client library for .NETv5Range: 12.0.0
- Microsoft/Azure Storage Queues client library for Pythonv5Range: 12.0.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-64x4-9hc6-r2h6ghsaADVISORY
- msrc.microsoft.com/update-guide/vulnerability/CVE-2022-30187ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-30187ghsaADVISORY
- github.com/google/security-research/security/advisories/GHSA-6m8q-r22q-vfxhghsaWEB
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-30187ghsaWEB
News mentions
0No linked articles in our index yet.