Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc3cTQtbTgzcS13NzZ2
Missing Origin Validation in browserify-hmr
Versions of browserify-hmr
prior to 0.4.0 are missing origin validation on the websocket server.
This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.
Recommendation
Upgrade to version 0.4.0 or later.
Permalink: https://github.com/advisories/GHSA-77q4-m83q-w76vJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc3cTQtbTgzcS13NzZ2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 4 years ago
Updated: about 2 years ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Percentage: 0.0048
EPSS Percentile: 0.75549
Identifiers: GHSA-77q4-m83q-w76v, CVE-2018-14730
References:
- https://github.com/AgentME/browserify-hmr/issues/41
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages)
- https://www.npmjs.com/advisories/726
- https://nvd.nist.gov/vuln/detail/CVE-2018-14730
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages
- https://github.com/advisories/GHSA-77q4-m83q-w76v
Blast Radius: 19.7
Affected Packages
npm:browserify-hmr
Dependent packages: 186Dependent repositories: 418
Downloads: 2,773 last month
Affected Version Ranges: < 0.4.0
Fixed in: 0.4.0
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7
All unaffected versions: 0.4.0, 0.4.1