# GHSA-qm9f-c3v9-wphv: Security Update for the OPC UA .NET Standard Stack

> An unauthorized attacker can trigger rapid memory consumption in the OPC UA .NET Standard Stack, causing a denial of service.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 18 Oct 2024

## What is GHSA-qm9f-c3v9-wphv?

GHSA-qm9f-c3v9-wphv is a denial of service vulnerability in OPCFoundation.NetStandard.Opc.Ua, published on 18 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

This security update resolves a vulnerability in the OPC UA .NET Standard Stack that enables an unauthorized attacker to trigger a rapid increase in memory consumption.

## Which versions are affected by GHSA-qm9f-c3v9-wphv?

4 open source packages ship an affected version, including OPCFoundation.NetStandard.Opc.Ua and OPCFoundation.NetStandard.Opc.Ua.Core.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `OPCFoundation.NetStandard.Opc.Ua` | NuGet | All versions | 1.05.374.54 |
| `OPCFoundation.NetStandard.Opc.Ua` | NuGet | All versions | 1.05.374.54 |
| `OPCFoundation.NetStandard.Opc.Ua.Core` | NuGet | All versions | 1.05.374.54 |
| `OPCFoundation.NetStandard.Opc.Ua.Core` | NuGet | All versions | 1.05.374.54 |

## How do I fix GHSA-qm9f-c3v9-wphv?

Upgrade OPCFoundation.NetStandard.Opc.Ua to 1.05.374.54 or later.

## Is GHSA-qm9f-c3v9-wphv being exploited?

There is no known exploitation of GHSA-qm9f-c3v9-wphv in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-qm9f-c3v9-wphv and fix it if it is affected.

What it is: GHSA-qm9f-c3v9-wphv is a denial of service vulnerability in OPCFoundation.NetStandard.Opc.Ua, published on 18 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-qm9f-c3v9-wphv in the wild and no public exploit code.

Affected packages and fixed versions:
- OPCFoundation.NetStandard.Opc.Ua (NuGet): affected all versions; fixed in 1.05.374.54
- OPCFoundation.NetStandard.Opc.Ua (NuGet): affected all versions; fixed in 1.05.374.54
- OPCFoundation.NetStandard.Opc.Ua.Core (NuGet): affected all versions; fixed in 1.05.374.54
- OPCFoundation.NetStandard.Opc.Ua.Core (NuGet): affected all versions; fixed in 1.05.374.54

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/GHSA-qm9f-c3v9-wphv/ (Markdown: https://insights.sbomify.com/GHSA-qm9f-c3v9-wphv/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-qm9f-c3v9-wphv

---
From sbomify Insights: https://insights.sbomify.com/GHSA-qm9f-c3v9-wphv/
Summaries are generated and may contain mistakes; the official description above is the record.
