Skip to content

chore(deps): update dependency vite to v6.3.4 [security] #4021

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

Merged
merged 1 commit into from
May 18, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) 6.3.2 -> 6.3.4 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-46565

Summary

The contents of files in the project root that are denied by a file matching pattern can be returned to the browser.

Impact

Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.
Only files that are under project root and are denied by a file matching pattern can be bypassed.

  • Examples of file matching patterns: .env, .env.*, *.{crt,pem}, **/.env
  • Examples of other patterns: **/.git/**, .git/**, .git/**/*

Details

server.fs.deny can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns).
These patterns were able to bypass for files under root by using a combination of slash and dot (/.).

PoC

npm create vite@latest
cd vite-project/
cat "secret" > .env
npm install
npm run dev
curl --request-target /.env/. http://localhost:5173

image
image


Release Notes

vitejs/vite (vite)

v6.3.4

Compare Source

v6.3.3

Compare Source


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 18, 2025
Copy link

codesandbox bot commented May 18, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

github-actions bot commented May 18, 2025

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented May 18, 2025

💻 Website Preview

The latest changes are available as preview in: https://pr-4021.graphql-yoga.pages.dev

Copy link
Contributor

github-actions bot commented May 18, 2025

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 424604      ✗ 0     
     data_received................................: 1.7 GB  12 MB/s
     data_sent....................................: 85 MB   568 kB/s
     http_req_blocked.............................: avg=1.53µs   min=1µs      med=1.33µs   max=307.56µs p(90)=2µs      p(95)=2.19µs  
     http_req_connecting..........................: avg=3ns      min=0s       med=0s       max=143.27µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=486.12µs min=276.84µs med=446.81µs max=18.57ms  p(90)=629.52µs p(95)=654.1µs 
       { expected_response:true }.................: avg=486.12µs min=276.84µs med=446.81µs max=18.57ms  p(90)=629.52µs p(95)=654.1µs 
     ✓ { mode:graphql-jit }.......................: avg=445.55µs min=345.02µs med=405.7µs  max=18.57ms  p(90)=446.28µs p(95)=467.19µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=675.1µs  min=560.01µs med=631.56µs max=8.81ms   p(90)=673.1µs  p(95)=703.38µs
     ✓ { mode:graphql-response-cache }............: avg=504.63µs min=396.24µs med=465.43µs max=14.51ms  p(90)=503µs    p(95)=518.24µs
     ✓ { mode:graphql }...........................: avg=531.63µs min=403.75µs med=478.9µs  max=18.41ms  p(90)=547.5µs  p(95)=625.12µs
     ✓ { mode:uws }...............................: avg=352.33µs min=276.84µs med=331.99µs max=7.42ms   p(90)=364.14µs p(95)=381.32µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 212302
     http_req_receiving...........................: avg=33.65µs  min=16.63µs  med=33.01µs  max=4.36ms   p(90)=39.36µs  p(95)=42.31µs 
     http_req_sending.............................: avg=8.96µs   min=5.99µs   med=7.9µs    max=1.99ms   p(90)=11.36µs  p(95)=12.65µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=443.5µs  min=247.13µs med=404.95µs max=18.46ms  p(90)=586.45µs p(95)=609.59µs
     http_reqs....................................: 212302  1415.332712/s
     iteration_duration...........................: avg=701.52µs min=446.39µs med=658.28µs max=19.19ms  p(90)=847.48µs p(95)=874.26µs
     iterations...................................: 212302  1415.332712/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 1b2d51d to 2f3a9be Compare May 18, 2025 14:08
@ardatan ardatan merged commit fcdbe0f into main May 18, 2025
23 checks passed
@ardatan ardatan deleted the renovate/npm-vite-vulnerability branch May 18, 2025 14:36
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant