GHSA-hfwx-c7q6-g54c

Suggest an improvement
Source
https://github.com/advisories/GHSA-hfwx-c7q6-g54c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-hfwx-c7q6-g54c/GHSA-hfwx-c7q6-g54c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hfwx-c7q6-g54c
Published
2021-03-12T23:04:46Z
Modified
2021-03-12T22:32:16Z
Summary
Vulnerability allowing for reading internal HTTP resources
Details

Impact

The vulnerability allows for reading and outputting files served by other services on the internal network in which the export server is hosted. If the export server is exposed to the internet, this potentially allows a malicious user to gain read access to internal web-resources.

The impact is limited to internal services that serve content via. HTTP(S), and requires the attacker to know internal hostnames/IP addresses.

The previous versions have been marked as deprecated on NPM.

Patches

Version 2.1.0 released alongside this security advisory addresses the issue. Please note that this release is not backwards compatible out of the box. See the changelog for details.

Additionally, it's also recommended to upgrade to the latest version of Highcharts to get the added input sanitation implemented in version 9.0 and later.

Workarounds

There are no known workarounds to the issue - an upgrade to version 2.1.0 is required.

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-552"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-03-12T22:32:16Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / highcharts-export-server

Package

Name
highcharts-export-server
View open source insights on deps.dev
Purl
pkg:npm/highcharts-export-server

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.0

Database specific

last_known_affected_version_range
"<= 2.0.30"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-hfwx-c7q6-g54c/GHSA-hfwx-c7q6-g54c.json"