ampproject / samples

Apache License 2.0
444 stars 191 forks source link

Update dependency node-fetch to v2.6.1 [SECURITY] - autoclosed #431

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
node-fetch 2.2.0 -> 2.6.1 age adoption passing confidence
node-fetch 2.3.0 -> 2.6.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2020-15168

Impact

Node Fetch 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.

Patches

We released patched versions for both stable and beta channels:

Workarounds

None, it is strongly recommended to update as soon as possible.

For more information

If you have any questions or comments about this advisory:


Release Notes

node-fetch/node-fetch (node-fetch) ### [`v2.6.1`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.6.1) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.6.0...v2.6.1) **This is an important security release. It is strongly recommended to update as soon as possible.** See [CHANGELOG](https://togithub.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md#v261) for details. ### [`v2.6.0`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.6.0) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.5.0...v2.6.0) See [CHANGELOG](https://togithub.com/bitinn/node-fetch/blob/v2.6.0/CHANGELOG.md#v260). ### [`v2.5.0`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.5.0) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.4.1...v2.5.0) See [CHANGELOG](https://togithub.com/bitinn/node-fetch/blob/v2.5.0/CHANGELOG.md#v250). ### [`v2.4.1`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.4.1) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.4.0...v2.4.1) See [CHANGELOG](https://togithub.com/bitinn/node-fetch/blob/v2.4.1/CHANGELOG.md#v241). ### [`v2.4.0`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.4.0) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.3.0...v2.4.0) See [CHANGELOG](https://togithub.com/bitinn/node-fetch/blob/v2.4.0/CHANGELOG.md#v240). ### [`v2.3.0`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.3.0) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.2.1...v2.3.0) See [CHANGELOG](https://togithub.com/bitinn/node-fetch/blob/v2.3.0/CHANGELOG.md#v230). ### [`v2.2.1`](https://togithub.com/node-fetch/node-fetch/releases/tag/v2.2.1) [Compare Source](https://togithub.com/node-fetch/node-fetch/compare/v2.2.0...v2.2.1) See [CHANGELOG](https://togithub.com/bitinn/node-fetch/blob/v2.2.1/CHANGELOG.md#v221).

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: amp-update-cache/package-lock.json