GHSA-m45f-4828-5cv5: Highcharts Denial of Service Vulnerability
MODERATEGHSA-m45f-4828-5cv5 is a MODERATE denial of service vulnerability (General Security Weakness) affecting Highcharts libraries in the npm ecosystem. The issue involves regular expression denial of service in highcharts. Remediation is available by upgrading affected packages to version 6.1.0.
GHSA-m45f-4828-5cv5 at a Glance
How to Fix GHSA-m45f-4828-5cv5
To remediate this vulnerability, upgrade all affected Highcharts 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 highcharts@6.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls highcharts
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-m45f-4828-5cv5, inspect your project dependencies using npm:
npm ls highcharts
Analyze the terminal output to locate any version of Highcharts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.1.0), your application is affected.
Note: The npm ls highcharts 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 General Security Weakness. In Highcharts, 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
GHSA-m45f-4828-5cv5 Affected Highcharts Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
highcharts
|
npm |
< 6.1.0
|
6.1.0
|
References
Frequently Asked Questions
What is GHSA-m45f-4828-5cv5?
Which Highcharts versions are affected?
What version fixes GHSA-m45f-4828-5cv5?
Is highcharts affected?
What CWE is associated with GHSA-m45f-4828-5cv5?
How can I check npm dependencies for GHSA-m45f-4828-5cv5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m45f-4828-5cv5",
"modified" : "2020-08-19T22:39:44Z",
"published" : "2020-08-19T22:39:44Z",
"withdrawn" : "2020-08-19T22:39:44Z",
"aliases" : [ ],
"summary" : "Regular Expression Denial of Service in highcharts",
"details" : "Withdrawn: Duplicate of GHSA-xmc8-cjfr-phx3",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "highcharts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/highcharts/highcharts/commit/7c547e1e0f5e4379f94396efd559a566668c0dfa"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/793"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-06-05T13:56:13Z",
"nvd_published_at" : null
}
}