CVE-2024-57086: Node opcua alarm condition Node-opcua-alarm-condition Prototype Pollution Vulnerability Vulnerability
HIGHCVE-2024-57086 is a HIGH (CVSS 8.2) node-opcua-alarm-condition prototype pollution vulnerability vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Node opcua alarm condition libraries in the npm ecosystem. The issue involves node-opcua-alarm-condition prototype pollution vulnerability. Remediation is available by upgrading affected packages to version 2.137.0.
CVE-2024-57086 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H).
How to Fix CVE-2024-57086
To remediate this vulnerability, upgrade all affected Node opcua alarm condition dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install node-opcua-alarm-condition@2.137.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-opcua-alarm-condition
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-57086, inspect your project dependencies using npm:
npm ls node-opcua-alarm-condition
Analyze the terminal output to locate any version of Node opcua alarm condition in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.137.0), your application is affected.
Note: The npm ls node-opcua-alarm-condition command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Node opcua alarm condition, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-57086 Affected Node opcua alarm condition Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-opcua-alarm-condition
|
npm |
< 2.137.0
|
2.137.0
|
References
Frequently Asked Questions
What is CVE-2024-57086?
Which Node opcua alarm condition versions are affected?
What version fixes CVE-2024-57086?
Is node-opcua-alarm-condition affected?
What is the CVSS score of CVE-2024-57086?
What CWE is associated with CVE-2024-57086?
How can I check npm dependencies for CVE-2024-57086?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gvwq-6fmx-28xm",
"modified" : "2025-04-10T12:50:02Z",
"published" : "2025-02-06T06:31:26Z",
"aliases" : [ "CVE-2024-57086" ],
"summary" : "node-opcua-alarm-condition prototype pollution vulnerability",
"details" : "A prototype pollution in the function fieldsToJson of node-opcua-alarm-condition v2.134.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-opcua-alarm-condition"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.137.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-57086"
}, {
"type" : "WEB",
"url" : "https://github.com/node-opcua/node-opcua/issues/1433#issuecomment-2791824350"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/tariqhawis/30acc3632cf595ca5825b7ec2b2f795a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/node-opcua/node-opcua"
}, {
"type" : "WEB",
"url" : "https://github.com/node-opcua/node-opcua/blob/330db56bb62bce9fff80382daee1fac94311978d/packages/node-opcua-alarm-condition/test/test_cve_polution_attack.ts"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-10T12:50:02Z",
"nvd_published_at" : "2025-02-05T22:15:32Z"
}
}