Skip to content
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

🔧 fix: Upgrade Cookie to 0.7.x, fix CVE-2024-47764 #891

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

nathankleyn
Copy link
Contributor

Cookie 0.6.x is vulnerable to an XSS vulnerability which has been logged as CVE-2024-47764 at
https://www.cve.org/CVERecord?id=CVE-2024-47764. This commit upgrades cookie to ^0.7.0 which includes the CVE fix. There is cookie 1.0.x available now but it includes breaking changes which should be done separately.

There is no currently available upgrade to @types/cookie for 0.7.x but 0.6.x is type compatible.

Cookie `0.6.x` is vulnerable to an XSS vulnerability which has been
logged as CVE-2024-47764 at
https://www.cve.org/CVERecord?id=CVE-2024-47764. This commit upgrades
cookie to `^0.7.0` which includes the CVE fix. There is cookie `1.0.x`
available now but it includes breaking changes which should be done
separately.

There is no currently available upgrade to `@types/cookie` for `0.7.x`
but `0.6.x` is type compatible.
@kravetsone
Copy link
Contributor

yeah we should migrate to latest soon

@Sly777
Copy link

Sly777 commented Oct 29, 2024

@SaltyAom is there any planned date for this? It's security issue on elysia at the moment.

@SaltyAom SaltyAom merged commit 4db10c1 into elysiajs:main Oct 31, 2024
@nathankleyn nathankleyn deleted the upgrade-cookie-to-0.7.x branch November 4, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants