fix(deps): update dependency elysia to v1.4.27 [security] - #648
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.4.22→1.4.27Elysia has a string URL format ReDoS
CVE-2026-30837 / GHSA-f45g-68q3-5w8x
More information
Details
Impact
t.String({ format: 'url' })is vulnerable to redosRepeating a partial url format (protocol and hostname) multiple times cause regex to slow down significantly
Here's a table demonstrating how long it takes to process repeated partial url format
nrepeatPatches
Patched by 1.4.26, please kindly update
elysiato >= 1.4.26Here's how long it takes after the patch
nrepeatWorkarounds
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Elysia Cookie Value Prototype Pollution
CVE-2026-31865 / GHSA-8hq9-phh3-p2wp
More information
Details
Impact
Elysia cookie can be overridden by prototype pollution , eg.
__proto__Sending cookie with the follows name can override cookie value:
Patches
Patched by 1.4.27
Workarounds
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
elysiajs/elysia (elysia)
v1.4.27Compare Source
Bug fix:
Improvement:
v1.4.26Compare Source
Bug fix:
v1.4.25Compare Source
Feature:
Bug fix:
v1.4.24Compare Source
Feature:
Bug fix:
v1.4.23Compare Source
Feature:
Bug fix:
Change:
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.
Summary by cubic
Updates
elysiafrom 1.4.22 to 1.4.27 to fix two security vulnerabilities: a ReDoS in URL string format validation and a prototype pollution issue with cookie values.Written for commit e6aa79d. Summary will update on new commits.