Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency undici to v5.28.4 [security] #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
undici (source) 5.12.0 -> 5.28.4 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-23936

Impact

undici library does not protect host HTTP header from CRLF injection vulnerabilities.

Patches

This issue was patched in Undici v5.19.1.

Workarounds

Sanitize the headers.host string before passing to undici.

References

Reported at https://hackerone.com/reports/1820955.

Credits

Thank you to Zhipeng Zhang (@​timon8) for reporting this vulnerability.

CVE-2023-24807

Impact

The Headers.set() and Headers.append() methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the headerValueNormalize() utility function.

Patches

This vulnerability was patched in v5.19.1.

Workarounds

There is no workaround. Please update to an unaffected version.

References

Credits

Carter Snook reported this vulnerability.

CVE-2023-45143

Impact

Undici clears Authorization headers on cross-origin redirects, but does not clear Cookie headers. By design, cookie headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since Undici handles headers more liberally than the specification, there was a disconnect from the assumptions the spec made, and Undici's implementation of fetch.

As such this may lead to accidental leakage of cookie to a 3rd-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the 3rd party site.

Patches

This was patched in e041de359221ebeae04c469e8aff4145764e6d76, which is included in version 5.26.2.

CVE-2024-24758

Impact

Undici already cleared Authorization headers on cross-origin redirects, but did not clear Proxy-Authorization headers.

Patches

This is patched in v5.28.3 and v6.6.1

Workarounds

There are no known workarounds.

References

CVE-2024-30261

Impact

If an attacker can alter the integrity option passed to fetch(), they can let fetch() accept requests as valid even if they have been tampered.

Patches

Fixed in nodejs/undici@d542b8c.
Fixes has been released in v5.28.4 and v6.11.1.

Workarounds

Ensure that integrity cannot be tampered with.

References

https://hackerone.com/reports/2377760

CVE-2024-30260

Impact

Undici cleared Authorization and Proxy-Authorization headers for fetch(), but did not clear them for undici.request().

Patches

This has been patched in nodejs/undici@6805746.
Fixes has been released in v5.28.4 and v6.11.1.

Workarounds

use fetch() or disable maxRedirections.

References

Linzi Shang reported this.


Release Notes

nodejs/undici (undici)

v5.28.4

Compare Source

⚠️ Security Release ⚠️

Full Changelog: nodejs/undici@v5.28.3...v5.28.4

v5.28.3

Compare Source

⚠️ Security Release ⚠️

Details on the vulnerabilities fixed will be shared in the next couple of days.

Full Changelog: nodejs/undici@v5.28.2...v5.28.3

v5.28.2

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.28.1...v5.28.2

v5.28.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.28.0...v5.28.1

v5.28.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.27.2...v5.28.0

v5.27.2

Compare Source

Full Changelog: nodejs/undici@v5.27.1...v5.27.2

v5.27.1

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.27.0...v5.27.1

v5.27.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.26.5...v5.27.0

v5.26.5

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.26.4...v5.26.5

v5.26.4

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.26.3...v5.26.4

v5.26.3

Compare Source

v5.26.2

Compare Source

Security Release, CVE-2023-45143.

v5.26.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.26.0...v5.26.1

v5.26.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.23.4...v5.26.0

v5.25.4

Compare Source

v5.25.3

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.25.2...v5.25.3

v5.25.2

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.25.1...v5.25.2

v5.25.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.25.0...v5.25.1

v5.25.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.24.0...v5.25.0

v5.24.0

Compare Source

Notable Changes

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.23.0...v5.24.0

v5.23.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.22.1...v5.23.0

v5.22.1

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v5.22.0...v5.22.1

v5.22.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.21.2...v5.22.0

v5.21.2

Compare Source

What's Changed

Full Changelog: nodejs/undici@v5.21.1...v5.21.2

v5.21.1

Compare Source

What's Changed


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 is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Pull requests that update a dependency file ready for review labels Feb 20, 2023
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 2 times, most recently from bc06a6a to b76a7a2 Compare March 3, 2023 13:52
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch from b76a7a2 to 69d7476 Compare March 7, 2023 15:03
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 2 times, most recently from 2794627 to 53ca4b4 Compare March 17, 2023 18:40
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 4 times, most recently from 882bbc9 to 9b6d041 Compare March 31, 2023 23:48
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 3 times, most recently from 6fc092a to 68ae376 Compare April 18, 2023 18:04
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 5 times, most recently from ed1f820 to a1dd1a2 Compare May 2, 2023 15:43
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch from a1dd1a2 to 6d31d20 Compare May 3, 2023 18:33
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 5 times, most recently from 7047d95 to 092a622 Compare May 18, 2023 09:27
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 2 times, most recently from ca35dd7 to 2cf2732 Compare May 25, 2023 19:39
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 2 times, most recently from 00c8e86 to 90311c7 Compare May 29, 2023 20:36
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 8 times, most recently from d500319 to 1516c94 Compare April 3, 2024 22:12
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 2 times, most recently from f183816 to 1f7803d Compare April 15, 2024 16:12
@renovate renovate bot changed the title chore(deps): update dependency undici to v5.28.3 [security] chore(deps): update dependency undici to v5.28.4 [security] Apr 15, 2024
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 4 times, most recently from c766c94 to aba3f66 Compare April 24, 2024 17:14
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 6 times, most recently from bb8c8ca to 75b59b2 Compare May 1, 2024 22:49
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch 6 times, most recently from a639090 to a4d2ab7 Compare May 22, 2024 20:38
@renovate renovate bot force-pushed the renovate/npm-undici-vulnerability/VF-000 branch from a4d2ab7 to c1d3d18 Compare May 22, 2024 20:45
Copy link

sonarcloud bot commented May 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants