fix(deps): update dependency elysia to v1.4.18 [security]#33
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update dependency elysia to v1.4.18 [security]#33renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
7294840 to
c8fb2eb
Compare
c8fb2eb to
33f17bf
Compare
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.1.17→1.4.18Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2025-66457
Arbitrary code execution from cookie config. If dynamic cookies are enabled (ie there exists a schema for cookies), the cookie config is injected into the compiled route without first being sanitised.
Availability of this exploit is generally low, as it requires write access to either the Elysia app's source code (in which case the vulnerability is meaningless) or write access to the cookie config (perhaps where it is assumed to be provisioned by the environment).
However when combined with GHSA-hxj9-33pp-j2cc, this vulnerability allows for a full RCE chain.
Impact
Example of vulnerable code
POC: https://github.com/sportshead/elysia-poc
Patches
Patched by 1.4.17 (https://github.com/elysiajs/elysia/pull/1564)
Reference commit:
Workarounds
Sanitize cookie-related env input
Release Notes
elysiajs/elysia (elysia)
v1.4.18Compare Source
Security:
JSON.stringifyover custom escape implementationv1.4.17Compare Source
Improvement:
Serveris always resolved toanywhen@types/bunis missingSecurity:
Bug fix:
Change:
c.requestto handler for streaming responsecontentTypetype onparserv1.4.16Compare Source
Improvement:
messageValueas an alias oferrorValueallowUnsafeValidatorDetailsintrospectBug fix:
v1.4.15Compare Source
Bug fix:
v1.4.14Compare Source
Feature:
PrettifyChange:
Prettify2,Partial2v1.4.13Compare Source
Feature:
allowUnsafeValidationDetailsfor disabling unsafe validation details in production modeELYSIA_RAPID_STREAMis setafterResponsenow wait for generator stream to finishhandle, andafterResponsenow wait for generator stream to finishBug fix:
InvalidFileTypefrom rootChange:
@types/bunan optional dependencyv1.4.12Compare Source
Improvement:
v1.4.11Compare Source
Bug fix:
onErrorfile-typenon optional dependency to fix default build problemv1.4.10Compare Source
Bug fix:
cryptorandomUUID if not available (eg. iOS Safari)Change:
Elysia.filereadstream value is now IIFE to re-readv1.4.9Compare Source
Improvement:
Sucrose.Settingsv1.4.8Compare Source
Improvement:
Bun.hashfrom checksum calculationChange:
file-typeoptional to reduce bundle sizev1.4.7Compare Source
Feature:
adapter/cloudflare-workerElysiaAdapter.beforeCompileChange:
guard,groupprocess.getBuiltinModuleinstead of dynamic import for fileElysia.file.valueon Web Standard Adapter now is not a promisev1.4.6Compare Source
Improvement:
BunHTMLBundleLiketo Elysia inline handlerChange:
Bug fix:
v1.4.5Compare Source
Improvement:
Bug fix:
Breaking Change:
t.Refby defaultv1.4.4Compare Source
Bug fix:
v1.4.3Compare Source
Bug fix:
mapValueErrorshould return all possible value both in dev environment and production environmentv1.4.2Compare Source
v1.4.1Compare Source
Security:
Improvement
Elysia.fetchfor up to 45x performance improvementBug fix:
v1.4.0Compare Source
Feature:
Improvement
Change
fileTypefor external file type validation for accurate responseBreaking Change
errorfunction, usestatusinsteadresponseinmapResponse,afterResponse, useresponseValueinsteaduser[], uset.Array(t.Ref('user'))insteadv1.3.21Compare Source
Bug fix:
v1.3.20Compare Source
Change:
Elysia.filein Web Standard Adapterv1.3.19Compare Source
Change:
Responseproxy as-isBug fix:
v1.3.18Compare Source
Bug fix:
ReadableStreamis not pass tohandleStreaminmapCompactResponse, andmapEarlyResponsev1.3.17Compare Source
Bug fix:
v1.3.16Compare Source
Improvement:
ssenow infer typessenow acceptsReadableStreamto return stream astext/event-streamReadableStreamfrom generator or async generatorChange:
Bug fix:
v1.3.15Compare Source
Bug fix:
v1.3.14Compare Source
Improvement:
ValidationError.withDetailwithDetailfor additional error informationv1.3.13Compare Source
Bug fix:
Change:
exact-mirrorto0.1.6v1.3.12Compare Source
Bug fix:
v1.3.11Compare Source
Bug fix:
v1.3.10Compare Source
Bug fix:
v1.3.9Compare Source
Feature:
t.ArrayBuffer,t.Uint8ArrayBug fix:
deriveandresolveshouldn't callonErrorImprovement:
finallyfrom composeNotFoundErrorshould parse query if inferredonRequest, andonErrorElysiaCustomStatusResponseChange:
v1.3.8Compare Source
Improvement:
set.headerseg. corsContent-Type,Content-Rangeof ElysiaFileBug fix:
settohandleFilewhen file isElysiaFileElysiaFileElysiaAdapter.stopoptionalv1.3.7Compare Source
Bug fix:
Change:
v1.3.6Compare Source
Improvement:
Bug fix:
v1.3.5Compare Source
Bug fix:
v1.3.4Compare Source
Feature:
Bug fix:
Change:
text/plainorapplication/jsonbased on the response typev1.3.3Compare Source
Bug fix:
ElysiaFilewhen not using Bunadapter/utilsv1.3.2Compare Source
Bug fix:
v1.3.1Compare Source
Change:
Responseproxy as-isBug fix:
v1.3.0Compare Source
Feature:
exactMirrorsystemRouterconfigstandalone ValidatorElysia.Reffor referencing schema with autocompletion instead oft.Reft.Form,t.NoValidatefile-typeto check file typeINVALID_FILE_TYPEerrorsanitizeoptionsImprovement:
encodeSchemanow stable and enabled by default_typesinto~Typesapp.router.static, and move static router code generation to compile phaseadd,_use, and some utility functionsParseErrornow keeps stack traceparseQueryandparseQueryFromURLconfigoptions tomountBug fix:
Responsereturned fromonErroris using octet streammergeObjectArrayChange:
c.requestto mapResponse whenmaybeStreamis truerouteTreeinstead ofMapcompressHistoryHookanddecompressHistoryHooktext/plainif not on Bundecorateunless explicitly specifiedElysia.mountnow setdetail.hide = trueby defaultBreaking Change:
as('plugin')in favor ofas('scoped')indexfor Eden TreatywebsocketfromElysiaAdapterinference.requestv1.2.25Compare Source
Bug fix:
v1.2.24Compare Source
Bug fix:
v1.2.23Compare Source
Bug fix:
v1.2.22Compare Source
Bug fix:
v1.2.21Compare Source
Bug fix:
v1.2.20Compare Source
Bug fix:
v1.2.19Compare Source
Bug fix:
v1.2.18Compare Source
Bug fix:
v1.2.17Compare Source
Bug fix:
.mountdoesn't return pass entire requestv1.2.16Compare Source
Improvement:
AfterHandlerinfer response typeChange:
@sinclair/typeboxto0.34.27Bug fix:
*experimental.encodeSchemafor customTransformEncode typev1.2.15Compare Source
Bug fix:
Transforminsidet.ArrayinhasTransformImprovement:
hasTransformhasTransformnow supports Union, IntersectdecodeURIComponentin nested queryv1.2.14Compare Source
Feature:
t.Array(t.String())Improvement:
replaceSchemaTypeBreaking Change:
Elysia.modulesnow return voidv1.2.13Compare Source
Improvement:
Bug fix:
v1.2.12Compare Source
Bug fix:
v1.2.11Compare Source
Feature:
Change:
Bug fix:
v1.2.10Compare Source
Feature:
Improvement:
deuriinstead offast-decode-uri-componentBug fix:
v1.2.9Compare Source
Bug fix:
v1.2.8Compare Source
Bug fix:
v1.2.7Compare Source
Bug fix:
error's value return as-if when thrownmapResponse.responseis{}if no response schema is providedResponseis used withmapResponseonErrornow acceptserrorasnumberwhenElysia.erroris thrown (but not returned)v1.2.6Compare Source
Bug fix:
v1.2.5Compare Source
Bug fix:
v1.2.4Compare Source
Bug fix:
v1.2.3Compare Source
Bug fix:
UNKNOWN-Error instead ofParseError.onStart,.onStopv1.2.2Compare Source
Bug fix:
v1.2.1Compare Source
Bug fix:
v1.2.0Compare Source
Feature:
Improvement:
asfor casting type to ‘scoped’ similar to ‘plugin’Change:
cookieto 1.0.1content-lengthnow accept numberBreaking Change:
v1.1.27Compare Source
Bug fix:
v1.1.26Compare Source
Bug fix:
v1.1.25Compare Source
Bug fix:
Change:
v1.1.24Compare Source
Security:
Bug fix:
v1.1.23Compare Source
Bug fix:
.theneven if it's not promise (looking at you, Drizzle)v1.1.22Compare Source
Bug fix:
set-cookieto resent if value is accessed even without setv1.1.21Compare Source
Improvement:
v1.1.20Compare Source
Bug fix:
v1.1.19Compare Source
Bug fix:
errorfrom derive/resolvev1.1.18Compare Source
Breaking change:
formdataELYSIA_RESPONSEsymbolerrornow useclass ElysiaCustomStatusResponseinstead of plain objectImprovement:
object typeresponse mapping performanceConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.