Skip to content

CVE-2020-15168 File size limit bypass in node-fetch

MediumCVSS 5.3 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

37 packages: 5 fixed, 31 with no fix yet.

PackageAffectedFixed inStatus
redhat/node-fetch(Red Hat acm 2) All versions No fix listed No fix yet
redhat/odf5/cephcsi-rhel9-operator:1795073546(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/cephcsi-rhel9:1795073870(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/devicefinder-rhel9:1795073967(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/mcg-core-rhel9:1795074158(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/mcg-rhel9-operator:1795074167(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/ocs-client-console-rhel9:1795074655(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/ocs-client-rhel9-operator:1795074170(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/ocs-metrics-exporter-rhel9:1795074383(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/ocs-rhel9-operator:1795074368(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-blackbox-exporter-rhel9:1795074330(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-cli-rhel9:1795074438(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-cloudnative-pg-rhel9-operator:1795074371(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-console-rhel9:1795074803(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-cosi-sidecar-rhel9:1795074454(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-csi-addons-rhel9-operator:1795074485(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-csi-addons-sidecar-rhel9:1795074572(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-drbd-rhel9:1795074668(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-external-snapshot-metadata-sidecar-rhel9:1795074674(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-external-snapshotter-rhel9-operator:1795074723(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-external-snapshotter-sidecar-rhel9:1795074744(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-multicluster-console-rhel9:1795075063(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-multicluster-rhel9-operator:1795074810(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-must-gather-rhel9:1795074944(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odf-rhel9-operator:1795074987(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odr-rhel9-operator:1795074981(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odr-volsync-plugin-mover-rhel9:1795075376(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/odr-volsync-plugin-rhel9-operator:1795075367(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
redhat/odf5/rook-ceph-rhel9-operator:1795075598(Red Hat openshift_data_foundation 5.0 el9) All versions No fix listed No fix yet
ubuntu/node-fetch(Ubuntu 20.04) = 1.7.3-1; = 1.7.3-2; = 1.7.3-2ubuntu0.1; All versions No fix listed No fix yet

… and 7 more packages.

Affected products

ProductAffected versionsFixed in
npm node-fetch(npm) >= 3.0.0-beta.1, <= 3.0.0-beta.8 No fix listed
npm node-fetch(npm) >= 2.0.0, < 2.6.1 2.6.1
debian/node-fetch(Debian:12) < 2.6.1-2 2.6.1-2
debian/node-fetch(Debian:13) < 2.6.1-2 2.6.1-2
debian/node-fetch(Debian:14) < 2.6.1-2 2.6.1-2
node-fetch project node-fetch < 2.6.1 2.6.1
node-fetch project node-fetch = 3.0.0-beta1 No fix listed
node-fetch project node-fetch = 3.0.0-beta5 No fix listed
node-fetch project node-fetch = 3.0.0-beta6 No fix listed
node-fetch project node-fetch = 3.0.0-beta7 No fix listed
node-fetch project node-fetch = 3.0.0-beta8 No fix listed
node-fetch = <2.6.1 No fix listed
node-fetch = >3.0.0-beta.1, <3.0.0-beta.9 No fix listed
npm node-fetch(npm) >= 3.0.0-beta.1, < 3.0.0-beta.9 3.0.0-beta.9
ubuntu/node-fetch(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/node-fetch(Ubuntu:Pro:18.04) = 1.7.3-1 No fix listed
ubuntu/node-fetch(Ubuntu:Pro:18.04) = 1.7.3-1ubuntu0.1~esm1 No fix listed
ubuntu/node-fetch(Ubuntu:20.04) All versions No fix listed
ubuntu/node-fetch(Ubuntu:20.04) = 1.7.3-1 No fix listed
ubuntu/node-fetch(Ubuntu:20.04) = 1.7.3-2 No fix listed
ubuntu/node-fetch(Ubuntu:20.04) = 1.7.3-2ubuntu0.1 No fix listed
redhat/odf5/cephcsi-rhel9:1795073870(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/cephcsi-rhel9-operator:1795073546(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/devicefinder-rhel9:1795073967(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/mcg-core-rhel9:1795074158(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
Show 25 more
ProductAffected versionsFixed in
redhat/odf5/mcg-rhel9-operator:1795074167(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/ocs-client-console-rhel9:1795074655(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/ocs-client-rhel9-operator:1795074170(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/ocs-metrics-exporter-rhel9:1795074383(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/ocs-rhel9-operator:1795074368(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-blackbox-exporter-rhel9:1795074330(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-cli-rhel9:1795074438(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-cloudnative-pg-rhel9-operator:1795074371(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-console-rhel9:1795074803(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-cosi-sidecar-rhel9:1795074454(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-csi-addons-rhel9-operator:1795074485(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-csi-addons-sidecar-rhel9:1795074572(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-drbd-rhel9:1795074668(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-external-snapshot-metadata-sidecar-rhel9:1795074674(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-external-snapshotter-rhel9-operator:1795074723(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-external-snapshotter-sidecar-rhel9:1795074744(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-multicluster-console-rhel9:1795075063(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-multicluster-rhel9-operator:1795074810(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-must-gather-rhel9:1795074944(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odf-rhel9-operator:1795074987(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odr-rhel9-operator:1795074981(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odr-volsync-plugin-mover-rhel9:1795075376(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/odr-volsync-plugin-rhel9-operator:1795075367(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/odf5/rook-ceph-rhel9-operator:1795075598(Red Hat:openshift_data_foundation:5.0::el9) All versions No fix listed
redhat/node-fetch(Red Hat:acm:2) All versions No fix listed

References