Skip to content

fix(deps): update dependency koa to v2.16.1 [security] #3390

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
koa 2.15.3 -> 2.16.1 age adoption passing confidence
koa 2.16.0 -> 2.16.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2025-32379

Summary

In koa < 2.16.1 and < 3.0.0-alpha.5, passing untrusted user input to ctx.redirect() even after sanitizing it, may execute javascript code on the user who use the app.

Patches

This issue is patched in 2.16.1 and 3.0.0-alpha.5.

PoC

Coming soon...

Impact

  1. Redirect user to another phishing site
  2. Make request to another endpoint of the application based on user's cookie
  3. Steal user's cookie

Release Notes

koajs/koa (koa)

v2.16.1

Compare Source

fix: don't render redirect values in anchor ref

v2.16.0

Compare Source

This is a backported release to fix core underlying issue with HEAD requests when using http2.createSecureServer. See discussion at https://github.com/koajs/koa/pull/1593 and https://github.com/koajs/koa/issues/1547.

v2.15.4

Compare Source

Full Changelog: koajs/koa@2.15.3...2.15.4

Fix: avoid redos on host and protocol getter, see GHSA-593f-38f6-jp5m


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.


  • 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 label Apr 9, 2025
Copy link

netlify bot commented Apr 9, 2025

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 9032fa3
🔍 Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/67f6cb4051fe650008c384b3

Copy link

github-actions bot commented Apr 9, 2025

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 39.56
  • Iterations/s: 13.20
  • Failed Requests: 0.00% (0 of 2379)
📜 Logs

> [email protected] run-tests:testenv /home/runner/work/rafiki/rafiki/test/performance
> ./scripts/run-tests.sh -e test "-k" "-q" "--vus" "4" "--duration" "1m"

Cloud Nine GraphQL API is up: http://localhost:3101/graphql
Cloud Nine Wallet Address is up: http://localhost:3100/
Happy Life Bank Address is up: http://localhost:4100/
cloud-nine-wallet-test-backend already set
cloud-nine-wallet-test-auth already set
happy-life-bank-test-backend already set
happy-life-bank-test-auth already set
     data_received..................: 830 kB 14 kB/s
     data_sent......................: 1.7 MB 29 kB/s
     http_req_blocked...............: avg=6.9µs    min=1.67µs   med=5.52µs   max=533.69µs p(90)=6.56µs   p(95)=7.1µs   
     http_req_connecting............: avg=548ns    min=0s       med=0s       max=441.29µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=100.46ms min=13.65ms  med=83.78ms  max=600.36ms p(90)=177.19ms p(95)=199.29ms
       { expected_response:true }...: avg=100.46ms min=13.65ms  med=83.78ms  max=600.36ms p(90)=177.19ms p(95)=199.29ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2379
     http_req_receiving.............: avg=91.64µs  min=26.83µs  med=81.7µs   max=2.89ms   p(90)=117.06µs p(95)=140.3µs 
     http_req_sending...............: avg=37.64µs  min=11.6µs   med=29.11µs  max=2.06ms   p(90)=43.1µs   p(95)=54.94µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=100.33ms min=13.46ms  med=83.64ms  max=600.27ms p(90)=177.01ms p(95)=199.17ms
     http_reqs......................: 2379   39.562387/s
     iteration_duration.............: avg=302.64ms min=162.96ms med=290.47ms max=1.16s    p(90)=369.94ms p(95)=411.31ms
     iterations.....................: 794    13.204092/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants