7.5high

CVE-2018-14730

Missing Origin Validation in browserify-hmr

Also known as GHSA-77q4-m83q-w76v

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.7%
percentile 77%
Public exploits
0
none known

Summary

An issue was discovered in Browserify-HMR. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:3123/ connection from any origin.

Exploit prediction (EPSS)

1.69% probability of exploitation in the next 30 days, higher than 77% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmbrowserify-hmr
<0.4.0
0.4.0

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

  • github.com /AgentME/browserify-hmr/issues/41 · x_refsource_MISC, x_transferred
  • blog.cal1.cn /post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-14730 · advisory
  • blog.cal1.cn /post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages) · web
  • github.com /AgentME/browserify-hmr · package
  • npmjs.com /advisories/726 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.