# CVE-2022-30187: Azure Storage Library Information Disclosure Vulnerability

> An attacker can potentially read sensitive data due to weak cryptographic practices in Azure Storage client libraries.

- **Severity:** Medium 4.7 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 12 Jul 2022
- **Updated:** 8 Jul 2025
- **Also known as:** GHSA-64x4-9hc6-r2h6, PYSEC-2026-2388, PYSEC-2026-784, SUSE-SU-2023:2897-1, SUSE-SU-2023:4609-1, SUSE-SU-2024:1670-1, UBUNTU-CVE-2022-30187, openSUSE-SU-2024:12283-1, openSUSE-SU-2024:13452-1, openSUSE-SU-2025:14690-1, openSUSE-SU-2026:11944-1

## What is CVE-2022-30187?

CVE-2022-30187 is a medium-severity vulnerability in Microsoft Azure Storage Blobs client library for .NET, published on 12 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Azure Storage Library Information Disclosure Vulnerability

Weakness: CWE-327 (Use of a Broken or Risky Cryptographic Algorithm)

## Which versions are affected by CVE-2022-30187?

12 open source packages ship an affected version, including Azure.Storage.Blobs, com.azure:azure-storage-blob and Azure.Storage.Queues. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `Azure.Storage.Blobs` | NuGet | All versions | 12.13.0 |
| `Azure.Storage.Blobs` | NuGet | All versions | 12.13.0 |
| `com.azure:azure-storage-blob` | Maven | All versions | 12.18.0 |
| `com.azure:azure-storage-blob` | Maven | All versions | 12.18.0 |
| `Azure.Storage.Queues` | NuGet | All versions | 12.11.0 |
| `Azure.Storage.Queues` | NuGet | All versions | 12.11.0 |
| `azure-storage-blob` | PyPI | All versions | 12.13.0 |
| `azure-storage-blob` | PyPI | All versions | 12.13.0 |
| `azure-storage-blob` | PyPI | All versions | 12.13.0 |
| `azure-storage-queue` | PyPI | All versions | 12.4.0 |
| `azure-storage-queue` | PyPI | All versions | 12.4.0 |
| `azure-storage-queue` | PyPI | All versions | 12.4.0 |
| `python-azure-core` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 1.23.1-2.12.8 |
| `python-azure-storage-blob` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 12.13.1-2.10.8 |
| `python-azure-storage-queue` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 12.4.0-2.10.8 |
| `python-typing_extensions` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.10.0.0-2.6.1 |
| `python-azure-core` | SUSE:Linux Enterprise Module for Public Cloud 15 SP1 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | SUSE:Linux Enterprise Module for Public Cloud 15 SP1 | All versions | 12.13.1-150100.3.10.1 |
| `python-azure-storage-queue` | SUSE:Linux Enterprise Module for Public Cloud 15 SP1 | All versions | 12.4.0-150100.3.7.1 |
| `python-typing_extensions` | SUSE:Linux Enterprise Module for Public Cloud 15 SP1 | All versions | 3.10.0.0-150100.3.5.1 |
| `python-azure-core` | SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 12.13.1-150100.3.10.1 |
| `python-azure-storage-queue` | SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 12.4.0-150100.3.7.1 |
| `python-typing_extensions` | SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 3.10.0.0-150100.3.5.1 |
| `python-azure-core` | SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 12.13.1-150100.3.10.1 |
| `python-typing_extensions` | SUSE:Linux Enterprise Module for Public Cloud 15 SP3 | All versions | 3.10.0.0-150100.3.5.1 |
| `python-azure-core` | SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | SUSE:Linux Enterprise Module for Public Cloud 15 SP4 | All versions | 12.13.1-150100.3.10.1 |
| `python-azure-core` | SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | All versions | 12.13.1-150100.3.10.1 |
| `python-azure-core` | openSUSE:Leap 15.4 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | openSUSE:Leap 15.4 | All versions | 12.13.1-150100.3.10.1 |
| `python-azure-core` | openSUSE:Leap 15.5 | All versions | 1.23.1-150100.3.13.1 |
| `python-azure-storage-blob` | openSUSE:Leap 15.5 | All versions | 12.13.1-150100.3.10.1 |
| `python-azure-storage-blob` | openSUSE:Tumbleweed | All versions | 12.24.1-1.1 |
| `python-azure-storage-queue` | openSUSE:Tumbleweed | All versions | 12.18.0-1.1 |

Products: Microsoft Azure Storage Blobs, Microsoft Azure Storage Queue.

## How do I fix CVE-2022-30187?

Upgrade Azure.Storage.Blobs to 12.13.0 or later.

## Is CVE-2022-30187 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-30187 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-30187 and fix it if it is affected.

What it is: CVE-2022-30187 is a medium-severity vulnerability in Microsoft Azure Storage Blobs client library for .NET, published on 12 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-30187 exists.

Affected packages and fixed versions:
- Azure.Storage.Blobs (NuGet): affected all versions; fixed in 12.13.0
- Azure.Storage.Blobs (NuGet): affected all versions; fixed in 12.13.0
- com.azure:azure-storage-blob (Maven): affected all versions; fixed in 12.18.0
- com.azure:azure-storage-blob (Maven): affected all versions; fixed in 12.18.0
- Azure.Storage.Queues (NuGet): affected all versions; fixed in 12.11.0
- Azure.Storage.Queues (NuGet): affected all versions; fixed in 12.11.0
- azure-storage-blob (PyPI): affected all versions; fixed in 12.13.0
- azure-storage-blob (PyPI): affected all versions; fixed in 12.13.0
- azure-storage-blob (PyPI): affected all versions; fixed in 12.13.0
- azure-storage-queue (PyPI): affected all versions; fixed in 12.4.0
- azure-storage-queue (PyPI): affected all versions; fixed in 12.4.0
- azure-storage-queue (PyPI): affected all versions; fixed in 12.4.0

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-30187/ (Markdown: https://insights.sbomify.com/CVE-2022-30187/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-30187
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-30187
- OSV: https://osv.dev/vulnerability/CVE-2022-30187

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-30187/
Summaries are generated and may contain mistakes; the official description above is the record.
