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 71640f1
🔍 Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/680a165f6265cd0008e9108f

Copy link

github-actions bot commented Apr 9, 2025

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 37.52
  • Iterations/s: 12.53
  • Failed Requests: 0.00% (0 of 2260)
📜 Logs

> performance@1.0.0 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..................: 788 kB 13 kB/s
     data_sent......................: 1.6 MB 27 kB/s
     http_req_blocked...............: avg=10.1µs   min=1.95µs   med=6.06µs   max=3.79ms   p(90)=7.16µs   p(95)=7.83µs  
     http_req_connecting............: avg=420ns    min=0s       med=0s       max=367.95µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=105.91ms min=10.06ms  med=88.27ms  max=560.87ms p(90)=186.78ms p(95)=206.02ms
       { expected_response:true }...: avg=105.91ms min=10.06ms  med=88.27ms  max=560.87ms p(90)=186.78ms p(95)=206.02ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2260
     http_req_receiving.............: avg=99.97µs  min=31.18µs  med=87.54µs  max=2.1ms    p(90)=128.43µs p(95)=160.84µs
     http_req_sending...............: avg=38.83µs  min=14.52µs  med=30.52µs  max=2.87ms   p(90)=45.51µs  p(95)=59.58µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=105.77ms min=9.87ms   med=88.14ms  max=560.7ms  p(90)=186.62ms p(95)=205.89ms
     http_reqs......................: 2260   37.520072/s
     iteration_duration.............: avg=318.77ms min=212.51ms med=306.97ms max=1.11s    p(90)=386.2ms  p(95)=412.65ms
     iterations.....................: 755    12.53436/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

@renovate renovate bot force-pushed the renovate-npm-koa-vulnerability branch from 9032fa3 to 71640f1 Compare April 24, 2025 10:45
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