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 serve-static to v1.16.0 [security] #508

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
serve-static 1.15.0 -> 1.16.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-43800

Impact

passing untrusted user input - even after sanitizing it - to redirect() may execute untrusted code

Patches

this issue is patched in serve-static 1.16.0

Workarounds

users are encouraged to upgrade to the patched version of express, but otherwise can workaround this issue by making sure any untrusted inputs are safe, ideally by validating them against an explicit allowlist

Details

successful exploitation of this vector requires the following:

  1. The attacker MUST control the input to response.redirect()
  2. express MUST NOT redirect before the template appears
  3. the browser MUST NOT complete redirection before:
  4. the user MUST click on the link in the template

Release Notes

expressjs/serve-static (serve-static)

v1.16.0

Compare Source

===================

  • Remove link renderization in html while redirecting

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 these updates again.


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

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

Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit 548ad07
🔍 Latest deploy log https://app.netlify.com/sites/rsdoctor/deploys/66ed02398001c20008df8718
😎 Deploy Preview https://deploy-preview-508--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/npm-serve-static-vulnerability branch 9 times, most recently from 1b22804 to e388677 Compare September 18, 2024 03:14
@renovate renovate bot force-pushed the renovate/npm-serve-static-vulnerability branch 2 times, most recently from 531310e to 6a90e5e Compare September 20, 2024 04:52
@renovate renovate bot force-pushed the renovate/npm-serve-static-vulnerability branch from 6a90e5e to 548ad07 Compare September 20, 2024 05:03
@easy1090 easy1090 merged commit 940e6c7 into main Sep 20, 2024
7 checks passed
@easy1090 easy1090 deleted the renovate/npm-serve-static-vulnerability branch September 20, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant