CVE-2020-7764: Find my way Web Cache Poisoning Vulnerability

MODERATE
Advisory Identifier: GHSA-jgrh-5m3h-9c5f
CVSS 5.9
CWE-444
Published
Advisory Summary

CVE-2020-7764 is a MODERATE (CVSS 5.9) web cache poisoning vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Find my way libraries in the npm ecosystem. The issue involves web cache poisoning in find-my-way. Remediation is available by upgrading affected packages to version 2.2.5, 3.0.5.

CVE-2020-7764 at a Glance

CVE Identifier CVE-2020-7764
GHSA Identifier GHSA-jgrh-5m3h-9c5f
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Find my way
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2020-7764

To remediate this vulnerability, upgrade all affected Find my way dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

find-my-way fixed: 2.2.5
npm install find-my-way@2.2.5
find-my-way fixed: 3.0.5
npm install find-my-way@3.0.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls find-my-way

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2020-7764, inspect your project dependencies using npm:

npm ls find-my-way

Analyze the terminal output to locate any version of Find my way in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.5), your application is affected.

Note: The npm ls find-my-way command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Find my way, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

This affects the package find-my-way before 2.2.5, from 3.0.0 and before 3.0.5. It accepts the Accept-Version' header by default, and if versioned routes are not being used, this could lead to a denial of service. Accept-Version can be used as an unkeyed header in a cache poisoning attack.

CVE-2020-7764 Affected Find my way Versions

2 component(s)
Fixed Versions:
2.2.53.0.5
Product / Package Ecosystem Affected Versions Fixed Version
find-my-way
npm
< 2.2.5
2.2.5
find-my-way
npm
≥ 3.0.0
< 3.0.5
3.0.5

References

Frequently Asked Questions

What is CVE-2020-7764?
CVE-2020-7764 is a security vulnerability in Find my way involving Web Cache Poisoning in find-my-way under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Find my way versions are affected?
Affected versions include releases prior to 2.2.5, 3.0.5 across affected packages: find-my-way.
What version fixes CVE-2020-7764?
Upgrading to 2.2.5, 3.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is find-my-way affected?
Yes, find-my-way is affected in releases prior to 2.2.5, 3.0.5. Upgrade your dependency to 2.2.5, 3.0.5 or later.
What is the CVSS score of CVE-2020-7764?
CVE-2020-7764 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2020-7764?
CVE-2020-7764 is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.).
How can I check npm dependencies for CVE-2020-7764?
Run the dependency tree command: 'npm ls find-my-way'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jgrh-5m3h-9c5f",
  "modified" : "2020-11-10T20:19:42Z",
  "published" : "2020-11-09T22:17:13Z",
  "aliases" : [ "CVE-2020-7764" ],
  "summary" : "Web Cache Poisoning in find-my-way",
  "details" : "This affects the package find-my-way before 2.2.5, from 3.0.0 and before 3.0.5. It accepts the Accept-Version' header by default, and if versioned routes are not being used, this could lead to a denial of service. Accept-Version can be used as an unkeyed header in a cache poisoning attack.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "find-my-way"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "find-my-way"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-7764"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/delvedor/find-my-way/commit/ab408354690e6b9cf3c4724befb3b3fa4bb90aac"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/SNYK-JS-FINDMYWAY-1038269"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/package/find-my-way"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-444" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-11-09T22:16:44Z",
    "nvd_published_at" : null
  }
}