Repository navigation
chore(deps): update dependency @effect/platform to ^0.97.0 [security] - #873
renovate[bot] wants to merge 1 commit into
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
7ce94d2 to
5aff627
Compare
|
View your CI Pipeline Execution ↗ for commit 97bb78b
💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗ ☁️ Nx Cloud last updated this comment at |
@forgerock/davinci-client
@forgerock/device-client
@forgerock/journey-client
@forgerock/oidc-client
@forgerock/protect
@forgerock/recognize
@forgerock/sdk-types
@forgerock/sdk-utilities
@forgerock/iframe-manager
@forgerock/sdk-logger
@forgerock/sdk-oidc
@forgerock/sdk-request-middleware
@forgerock/storage
commit: |
|
Deployed a983752 to https://ForgeRock.github.io/ping-javascript-sdk/pr-873/a983752f71ec33b952fcb508046c71127c27a3cf branch gh-pages in ForgeRock/ping-javascript-sdk |
Interface Mapping Out of DateThe Drift reportTo fix, run: pnpm mapping:generateThen commit the updated |
📦 Bundle Size Analysis📦 Bundle Size Analysis🆕 New Packages🆕 @forgerock/journey-client - 95.4 KB (new) ➖ No Changes➖ @forgerock/protect - 149.5 KB 15 packages analyzed • Baseline from latest Legend🆕 New package ℹ️ How bundle sizes are calculated
🔄 Updated automatically on each push to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #873 +/- ##
===========================================
+ Coverage 18.07% 96.29% +78.22%
===========================================
Files 155 1 -154
Lines 24398 81 -24317
Branches 1203 17 -1186
===========================================
- Hits 4410 78 -4332
+ Misses 19988 3 -19985 🚀 New features to boost your workflow:
|
5aff627 to
97bb78b
Compare
This PR contains the following updates:
^0.90.0→^0.97.0Effect: Cookie attribute injection via domain, path, and name fields in @effect/platform makeCookie()
CVE-2026-115779 / GHSA-chp3-j5qr-2vfr
More information
Details
Impact
The
name,domain, andpathfields ofmakeCookie()were validated with a regex that allows;, the attribute separator inSet-Cookieheaders. BecauseserializeCookie()writes those fields verbatim, a caller who passes untrusted input into any of them can append arbitrary attributes to the header.For example, a
domainof"legit.com; Domain=.parent.tld"serializes tosession=token; Domain=legit.com; Domain=.parent.tld. RFC 6265 §5.3 takes the last occurrence, so the injected domain wins and the cookie widens to the parent domain. The same trick setsSameSite=NoneorMax-Agewhen the caller has not set those options itself.The
valuefield is unaffected: it passes throughencodeURIComponent, which encodes;. CR and LF are rejected by the existing regex, so header splitting is not possible.Patches
Fixed in #6763 (v4) and #6765 (v3): the shared regex is split into per-field validators that reject
;, andserializeCookie()now validates before writing the header.Workarounds
Do not pass user input into
name,domain, orpath; set them from application constants.Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
Effect-TS/effect (@effect/platform)
v0.97.1Compare Source
Patch Changes
#6652
e5dfd78Thanks @IMax153! - Add anextendEnvoption toCommand.envfor spawning commands with a clean environment.#6774
4b03605Thanks @tim-smart! - Reject empty,.and..keys in file-backed key-value stores.#6311
8a405fdThanks @tim-smart! - update multipasta#6756
8ee801dThanks @tim-smart! - Fix a security issue in HTML escaping for generated Scalar and Swagger API documentation.#6765
5859b37Thanks @tim-smart! - Reject invalid cookie names and cookie attribute separators in domains and paths.Updated dependencies [
7ccbd9c,ab2af6d,3cc3c6e,3d390f2,fcabf08,735d81b]:v0.97.0Compare Source
Patch Changes
fffdee0]:v0.96.3Compare Source
Patch Changes
#6244
99d5575Thanks @spokodev! - FixHttpLayerRouter.addHttpApiso two registered APIs no longer share error encoders. Previously each call's middleware was added to a shared context map and applied to every route, so a 500 response from one API was sometimes encoded against the other API's error schema. The fix scopes each API's middleware to its own endpoints (matched by method + path) and wraps each route handler directly.Updated dependencies [
307d54a,d95868a,95c7d2e,d24511f]:v0.96.2Compare Source
Patch Changes
#6273
7e00169Thanks @tim-smart! - Remove the content-length header before sending FetchHttpClient requests.Updated dependencies [
8222963]:v0.96.1Compare Source
Patch Changes
#6147
518d0e3Thanks @syhstanley! - FixHttpLayerRouter.addHttpApisilently skipping API-level middleware.#6191
c016642Thanks @IGassmann! - Updatemsgpackrto 1.11.10 to fix silent decode failures in environments that blocknew Function()at runtime (e.g. Cloudflare Workers). The new version wraps the JITnew Function()call in a try/catch, falling back to the interpreted path when dynamic code evaluation is blocked.Updated dependencies [
74f3267]:v0.96.0Compare Source
Patch Changes
f7bb09b,bd7552a,ad1a7eb,0d32048,0d32048]:v0.95.0Compare Source
Patch Changes
fc82e81,82996bc,4d97a61,f6b0960,8798a84]:v0.94.5Compare Source
Patch Changes
#6050
d67c708Thanks @tim-smart! - Backport Effect 4contentTypesupport forHttpBodyJSON / URL-encoded constructors andHttpServerResponseJSON / URL-encoded helpers.Updated dependencies [
a8c436f]:v0.94.4Compare Source
Patch Changes
22d9d27Thanks @tim-smart! - FixHttpServerError.causeResponseto prefer 499 when a client abort interrupt is present.v0.94.3Compare Source
Patch Changes
#6021
0023c19Thanks @codewithkenzo! - FixHttpClientRequest.appendUrlto properly join URL paths.Previously,
appendUrlused simple string concatenation which could produce invalid URLs:Now it ensures proper path joining:
#6019
9a96b87Thanks @codewithkenzo! - FixretryTransientto use correct transient status codesChanged
isTransientResponsefromstatus >= 429to an explicit allowlist (408, 429, 500, 502, 503, 504). This correctly excludes 501 (Not Implemented) and 505+ permanent errors, while including 408 (Request Timeout) which was previously missed.Also aligned response retry behavior with v4: the
whilepredicate now only applies to error retries, not response retries. Response retries are determined solely byisTransientResponse. This matches the semantic intent sincewhileis typed for errors, not responses.Fixes #5995
Updated dependencies [
e71889f]:v0.94.2Compare Source
Patch Changes
#5977
118e7a4Thanks @scotttrinh! - AddedrowsandisTTYproperties toTerminalUpdated dependencies [
7e925ea,d7e75d6,4860d1e]:v0.94.1Compare Source
Patch Changes
#5936
65e9e35Thanks @schickling! - Document subtle CORS middlewareallowedHeadersbehavior: when empty array (default), it reflects back the client'sAccess-Control-Request-Headers(permissive), and when non-empty array, it only allows specified headers (restrictive). Added comprehensive JSDoc with examples.#5940
ee69cd7Thanks @kitlangton! - HttpServerResponse: fixfromWebto preserve Content-Type header when response has a bodyPreviously, when converting a web
Responseto anHttpServerResponseviafromWeb, theContent-Typeheader was not passed toBody.stream(), causing it to default toapplication/octet-stream. This affected any code usingHttpApp.fromWebHandlerto wrap web handlers, as JSON responses would incorrectly have their Content-Type set toapplication/octet-streaminstead ofapplication/json.Updated dependencies [
488d6e8]:v0.94.0Compare Source
Minor Changes
ff7053fThanks @tim-smart! - support non-errors in HttpClient.retryTransientPatch Changes
77eeb86,287c32c]:v0.93.8Compare Source
Patch Changes
#5902
a0a84d8Thanks @tim-smart! - add HttpApp.fromWebHandlerUpdated dependencies [
a6dfca9]:v0.93.7Compare Source
Patch Changes
65bff45Thanks @tim-smart! - add basic apis for converting to web Request/Responsev0.93.6Compare Source
Patch Changes
25d1cb6Thanks @tim-smart! - consider clean http interrupts as successful responsesv0.93.5Compare Source
Patch Changes
ebfbbd6Thanks @KhraksMamtsov! - SupportHttpApiErrorunificationv0.93.4Compare Source
Patch Changes
8ebd29eThanks @tim-smart! - use original status code if headers have already been sentv0.93.3Compare Source
Patch Changes
e144f02Thanks @rohovskoi! - fix scalar configuration and typesv0.93.2Compare Source
Patch Changes
2bb8242Thanks @tim-smart! - ensure HttpApiScalar source is tree-shakablev0.93.1Compare Source
Patch Changes
1961185Thanks @kitlangton! - Fix UrlParams.setAll overwrite semanticsv0.93.0Compare Source
Patch Changes
#5606
24a1685Thanks @tim-smart! - expose Layer output in HttpLayerRouter.serveUpdated dependencies [
3c15d5f,3863fa8,2a03c76,24a1685]:v0.92.1Compare Source
Patch Changes
f6987c0Thanks @wmaurer! - add additional predicate typings for HttpMiddleware.cors allowOriginsv0.92.0Compare Source
Patch Changes
#5302
c60956eThanks @OliverJAsh! - AdjustxForwardedHeadersmiddleware to always usex-forwarded-forUpdated dependencies [
1c6ab74,70fe803,c296e32,a098ddf]:v0.91.1Compare Source
Patch Changes
ffa494cThanks @tim-smart! - allow predicates for HttpMiddleware.cors allowOriginsv0.91.0Compare Source
Minor Changes
d4d86a8Thanks @tim-smart! - remove msgpackr re-exportsConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.