ghsa-37q6-576q-vgr7
Vulnerability from github
Published
2018-10-30 20:36
Modified
2021-08-31 20:51
Summary
Missing Origin Validation in parcel-bundler
Details

Versions of parcel-bundler before 1.10.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

Update to version 1.10.0 or later.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "parcel-bundler"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2018-14731"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-200"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T20:54:24Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "Versions of `parcel-bundler` before 1.10.0 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer\u0027s source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.\n\n\n## Recommendation\n\nUpdate to version 1.10.0 or later.",
  "id": "GHSA-37q6-576q-vgr7",
  "modified": "2021-08-31T20:51:48Z",
  "published": "2018-10-30T20:36:53Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14731"
    },
    {
      "type": "WEB",
      "url": "https://github.com/parcel-bundler/parcel/issues/1783"
    },
    {
      "type": "WEB",
      "url": "https://github.com/parcel-bundler/parcel/pull/1794"
    },
    {
      "type": "WEB",
      "url": "https://github.com/parcel-bundler/parcel/commit/066e0bf6bd26b15c78bd47df023452e4b20073e4"
    },
    {
      "type": "WEB",
      "url": "https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages"
    },
    {
      "type": "WEB",
      "url": "https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages)"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-37q6-576q-vgr7"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/parcel-bundler/parcel"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/721"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Missing Origin Validation in parcel-bundler"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…