CVE-2024-42512 — Vulnerability in OPCFoundation.Net…pc.Ua.Core
Security Update for the OPC UA .NET Standard Stack
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.73%). Schedule for your next planned update.
Does your project use an affected OPCFoundation.NetStandard.Opc.Ua.Core version?
Paste your packages.lock.json to check it for CVE-2024-42512 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
This security update resolves a vulnerability in the OPC UA .NET Standard Stack that allows an unauthorized attacker to bypass application authentication when the deprecated Basic128Rsa15 security policy is enabled.
Note that the Basic128Rsa15 is disabled by default so most users will not be affected. When this patch is applied the Server closes all channels using the Basic128Rsa15 if an attack is detected. This introduces a DoS before any compromise can occur which is preferable to a compromise. To prevent this failure, applications must stop using Basic128Rsa15.
Advisory Timeline
- First published March 3, 2025 (633 days ago).
- Last revised May 27, 2025 — 85 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package OPCFoundation.NetStandard.Opc.Ua.Core --version 1.5.374.158
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| OPCFoundation.NetStandard.Opc.Ua.Core NuGet · Affected: 0.0.3, 0.0.6, 0.0.7, 0.0.8 (+79 more) | 1.5.374.158 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-208
- CWE-639Insecure Direct Object Reference (IDOR)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/OPCFoundation/UA-.NETStandard/security/advisories/GHSA-h958-fxgg-g7w3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-42512ADVISORY
- https://github.com/OPCFoundation/UA-.NETStandard/commit/3543d0292556691f681e39145e2de4526b90487dWEB
- https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2024-42512.pdfWEB
- https://github.com/OPCFoundation/UA-.NETStandardPACKAGE
Frequently Asked Questions
- What is CVE-2024-42512?
- Security Update for the OPC UA .NET Standard Stack. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2024-42512?
- CVE-2024-42512 affects OPCFoundation.NetStandard.Opc.Ua.Core. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-42512 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 50% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-33862HIGH
OPCFoundation.NetStandard.Opc.Ua.Core buffer-management vulnerability
- CVE-2022-29862HIGH
Security Update for the OPC UA .NET Standard Stack
- CVE-2022-29865HIGH
Incorrect Implementation of Authentication Algorithm in OPCFoundation.NetStandard.Opc.Ua.Core
- GHSA-qm9f-c3v9-wphvHIGH
Security Update for the OPC UA .NET Standard Stack
- CVE-2022-29863HIGH
Memory Allocation with Excessive Size Value in OPCFoundation.NetStandard.Opc.Ua.Core
- CVE-2022-29864HIGH
Uncontrolled Resource Consumption in OPCFoundation.NetStandard.Opc.Ua.Core
- CVE-2023-31048MEDIUM
Exposure of Sensitive Information in OPC UA .NET Standard Reference Server
- CVE-2024-45526MEDIUM
Security Update for the OPC UA .NET Standard Stack