Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

fix(deps): update dependency @koa/cors to v5 [security] #121

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@koa/cors 3.1.0 -> 5.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-49803

Currently, the middleware operates in a way that if an allowed origin is not provided, it will return an Access-Control-Allow-Origin header with the value of the origin from the request. This behavior completely disables one of the most crucial elements of browsers - the Same Origin Policy (SOP), this could cause a very serious security threat to the users of this middleware.

If such behavior is expected, for instance, when middleware is used exclusively for prototypes and not for production applications, it should be heavily emphasized in the documentation along with an indication of the risks associated with such behavior, as many users may not be aware of it.


Release Notes

koajs/cors (@​koa/cors)

v5.0.0

Compare Source

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

others

v4.0.0

Compare Source

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

fixes

others

  • [d19090f] - refactor: [BREAKING] drop node 8, 10, 12 support (#​88) (fengmk2 <<fengmk2@​gmail.com>>)

v3.4.3

Compare Source

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

others

  • [208b86c] - Revert "fix: Calling all options even if origin header is not present (#​87)" (fengmk2 <<fengmk2@​gmail.com>>)

v3.4.2

Compare Source

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

fixes

v3.4.1

Compare Source

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

fixes

v3.4.0

Compare Source

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

others

  • [2cd4789] - 🤖 TEST: Run test on Node.js 18 (#​86) (fengmk2 <<fengmk2@​gmail.com>>)
  • [ae56e05] - Create codeql-analysis.yml (fengmk2 <<fengmk2@​gmail.com>>)
  • [c4b5d21] - refactor: use friendlier promise checking (#​84) (Swain Molster <swain.molster@gmail.com>)
  • [fbe33bc] - 📖 DOC: Add privateNetworkAccess js to README (fengmk2 <<fengmk2@​gmail.com>>)

v3.3.0

Compare Source

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

features

others

v3.2.0

Compare Source

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

features

others

  • [bcadb55] - test: run test on github action (fengmk2 <<fengmk2@​gmail.com>>)

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Paris, 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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

sonarcloud bot commented Dec 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@koa/cors 3.1.0...5.0.0 None +0/-0 13.2 kB fengmk2

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants