CVE-2020-15168

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-15168
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15168.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15168
Aliases
Related
Published
2020-09-10T19:15:13Z
Modified
2024-09-18T03:07:41.221812Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

node-fetch before versions 2.6.1 and 3.0.0-beta.9 did not honor the size option after following a redirect, which means that when a content size was over the limit, a FetchError would never get thrown and the process would end without failure. For most people, this fix will have a little or no impact. However, if you are relying on node-fetch to gate files above a size, the impact could be significant, for example: If you don't double-check the size of the data after fetch() has completed, your JS thread could get tied up doing work on a large file (DoS) and/or cost you money in computing.

References

Affected packages

Debian:11 / node-fetch

Package

Name
node-fetch
Purl
pkg:deb/debian/node-fetch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-fetch

Package

Name
node-fetch
Purl
pkg:deb/debian/node-fetch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-fetch

Package

Name
node-fetch
Purl
pkg:deb/debian/node-fetch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/node-fetch/node-fetch

Affected ranges

Type
GIT
Repo
https://github.com/node-fetch/node-fetch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.6.0
v1.6.1
v1.6.2
v1.6.3

v2.*

v2.0.0
v2.0.0-alpha.1
v2.0.0-alpha.3
v2.0.0-alpha.4
v2.0.0-alpha.5
v2.0.0-alpha.6
v2.0.0-alpha.7
v2.0.0-alpha.8
v2.0.0-alpha.9
v2.1.0
v2.1.1
v2.1.2
v2.2.0
v2.2.1
v2.3.0
v2.4.0
v2.4.1
v2.5.0
v2.6.0