GitHub Advisoryadvisory · npm
GHSA-hfwx-c7q6-g54c Vulnerability allowing for reading internal HTTP resources
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- highcharts-export-server
- Severity
- High
- Weaknesses
- CWE-552
- Reviewed
- 2021-03-12
Affected packages
• npm highcharts-export-server: < 2.1.0 → fixed in 2.1.0
Description
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:
• Open an issue in the export server issue tracker
• Email us at [email protected]
Related
Weakness · CWE (1)
- CWE-552 Files or Directories Accessible to External Parties weakness
References
- https://github.com/highcharts/node-export-server/security/advisories/GHSA-hfwx-c7q6-g54c web
- https://github.com/highcharts/node-export-server/commit/53fa992a96785a5a08390e55ec30ea2ad217dfe6 web
- https://github.com/highcharts/node-export-server/blob/master/CHANGELOG.md#210 web
- https://www.npmjs.com/package/highcharts-export-server web