CVE-2020-7764: find-my-way web cache poisoning via Accept-Version

CVE-2020-7764 · Severity: low · CVSS 3.1 · Published 2020-11-09

find-my-way is a Node.js HTTP router library used in web applications. The library accepts the Accept-Version header by default without proper cache key management, allowing attackers to poison web caches and cause denial of service when versioned routing is not in use. This could result in legitimate requests being denied or misdirected.

Technologies: find-my-way (npm). Vendors: npm.

Quick answers

Is CVE-2020-7764 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-7764 being exploited in the wild.
How severe is CVE-2020-7764?
Low severity, with a CVSS score of 3.1, published 9 November 2020.
Which products and versions are affected?
find-my-way (npm) SEMVER:introduced=0,fixed=2.2.5.
Is there a fix for CVE-2020-7764?
Yes. find-my-way (npm): upgrade to 2.2.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2020-7764 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2020-7764?
Check whether you run find-my-way (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • find-my-way (npm): upgrade to 2.2.5 or later
    npm install find-my-way@2.2.5

Technical details

find-my-way improperly handles the Accept-Version HTTP header as an unkeyed cache parameter, enabling HTTP cache poisoning attacks (CWE-444). The vulnerability affects versions before 2.2.5 and 3.0.0 through 3.0.4. When applications do not use versioned routes, the Accept-Version header can be manipulated to poison caches, causing availability issues. The attack requires network access but no authentication. The fix, released in versions 2.2.5 and 3.0.5, enables versioning on-demand rather than accepting it by default.

Affected products

  • Matteo Collina find-my-way before 2.2.5, 3.0.0 to 3.0.4

Identifiers

  • CVE-2020-7764
  • GHSA-jgrh-5m3h-9c5f

Timeline

  • 2020-11-09: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.