CVE-2018-14731
Last modified
CVE-2018-14731 is a vulnerability of currently unknown severity. An issue was discovered in HMRServer.js in Parcel parcel-bundler. 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). EPSS estimates a 2.33% chance of exploitation in the next 30 days.
Description
An issue was discovered in HMRServer.js in Parcel parcel-bundler. 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 connection (with a random TCP port number) from any origin. The random port number can be found by connecting to http://127.0.0.1 and reading the "new WebSocket" line in the source code.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Parceljs | Parcel | All versions |
References
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20MessagesExploit, Third Party Advisory
- https://github.com/parcel-bundler/parcel/issues/1783Vendor Advisory
- https://github.com/parcel-bundler/parcel/pull/1794Exploit, Patch, Vendor Advisory
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20MessagesExploit, Third Party Advisory
- https://github.com/parcel-bundler/parcel/issues/1783Vendor Advisory
- https://github.com/parcel-bundler/parcel/pull/1794Exploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-14731?
How severe is CVE-2018-14731?
How do I fix CVE-2018-14731?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-14722An issue was discovered in evaluate_auto_mountpoint in btrfs…
- CVE-2018-14724In the Ban List plugin 1.0 for MyBB, any forum user with mod…
- CVE-2018-14728upload.php in Responsive FileManager 9.13.1 allows SSRF via …
- CVE-2018-14729The database backup feature in upload/source/admincp/admincp…
- CVE-2018-1473IBM BigFix Platform 9.2 and 9.5 is vulnerable to cross-site …
- CVE-2018-14730An issue was discovered in Browserify-HMR. Attackers are abl…7.5
- CVE-2018-14732An issue was discovered in lib/Server.js in webpack-dev-serv…
- CVE-2018-14733The Odoo Community Association (OCA) dbfilter_from_header mo…
- CVE-2018-14734drivers/infiniband/core/ucma.c in the Linux kernel through 4…
- CVE-2018-14735An Information Exposure issue was discovered in Hitachi Comm…
- CVE-2018-14736An issue was discovered in libpbc.a in cloudwu PBC through 2…
- CVE-2018-14737An issue was discovered in libpbc.a in cloudwu PBC through 2…
Are you affected by CVE-2018-14731?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
