intlify / vue-i18n

Vue I18n for Vue 3
https://vue-i18n.intlify.dev/
MIT License
2.2k stars 337 forks source link

chore(deps): update dependency serve-static to v1.16.0 [security] #1986

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

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`](https://redirect.github.com/expressjs/serve-static/blob/HEAD/HISTORY.md#1160--2024-09-10) [Compare Source](https://redirect.github.com/expressjs/serve-static/compare/v1.15.0...1.16.0) \=================== - Remove link renderization in html while redirecting

Configuration

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

🚦 Automerge: Enabled.

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.



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

cloudflare-workers-and-pages[bot] commented 1 month ago

Deploying vue-i18n-next with  Cloudflare Pages  Cloudflare Pages

Latest commit: 238a49d
Status: ✅  Deploy successful!
Preview URL: https://80e73ce3.vue-i18n-next.pages.dev
Branch Preview URL: https://renovate-npm-serve-static-vu.vue-i18n-next.pages.dev

View logs

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

@intlify/core

``` pnpm add https://pkg.pr.new/@intlify/core@1986 ```

@intlify/core-base

``` pnpm add https://pkg.pr.new/@intlify/core-base@1986 ```

@intlify/message-compiler

``` pnpm add https://pkg.pr.new/@intlify/message-compiler@1986 ```

@intlify/devtools-types

``` pnpm add https://pkg.pr.new/@intlify/devtools-types@1986 ```

petite-vue-i18n

``` pnpm add https://pkg.pr.new/petite-vue-i18n@1986 ```

@intlify/shared

``` pnpm add https://pkg.pr.new/@intlify/shared@1986 ```

vue-i18n

``` pnpm add https://pkg.pr.new/vue-i18n@1986 ```

@intlify/vue-i18n-core

``` pnpm add https://pkg.pr.new/@intlify/vue-i18n-core@1986 ```

commit: 238a49d