Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven.NET NuGet🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2022-30187 azure-storage-blob

MEDIUM

CVE-2022-30187 is a medium-severity (CVSS 4.7) Broken Cryptographic Algorithm vulnerability in com.azure:azure-storage-blob. A fix is available for com.azure:azure-storage-blob — see the affected versions and patch details below.

Microsoft: CBC Padding Oracle in Azure Blob Storage Encryption Library

Also known asPYSEC-2026-2388PYSEC-2026-784
Published
Jul 13, 2022
Updated
Jul 13, 2026
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed
Exploitation data as of Sep 21, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-30187.

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs44th percentile — riskier than 44% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

How urgent is this, really

CVE-2022-30187 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.

Where this sits among everything scored

Of 377,636 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.

Real-World Exposure

5 pkgs affected
com.azure:azure-storage-blob.NETAzure.Storage.Queues.NETAzure.Storage.Blobs🐍azure-storage-queue🐍azure-storage-blob

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven, NuGet packages — download data is not available via public APIs for these ecosystems.

Description

Summary

The 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.

Severity

Moderate - The vulnerability poses insider risks/privilege escalation risks, circumventing controls for stored data.

Further Analysis

The 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.

This 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.

In 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.

This 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.

Timeline

Date reported: March 29 2022 Date preview: June 16 2022 Date GA: July 11 2022 Date disclosed: July 17 2022

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
Mavencom.azure:azure-storage-bloball versions12.18.0com.azure:azure-storage-blob:12.18.0
.NETNuGetAzure.Storage.Queuesall versions12.11.0dotnet add package Azure.Storage.Queues --version 12.11.0
.NETNuGetAzure.Storage.Blobsall versions12.13.0dotnet add package Azure.Storage.Blobs --version 12.13.0
🐍PyPIazure-storage-queueall versions12.4.0pip install --upgrade 'azure-storage-queue==12.4.0'
🐍PyPIazure-storage-bloball versions12.13.0pip install --upgrade 'azure-storage-blob==12.13.0'

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.azure:azure-storage-blob, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.azure:azure-storage-blob to 12.18.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-30187 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2022-30187 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2022-30187. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Summary The 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. ### Severity Moderate - The vulnerability poses insider risks/privilege escalation risks, circumventing controls for stored data. ### Further Analysis The 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
O3 Security · Impact-Aware SCA

Is CVE-2022-30187 in your dependencies?

O3 Security finds CVE-2022-30187 across Maven, NuGet, PyPI dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2022-30187: azure-storage (Medium 4.7) | O3 Security