Repository navigation
chore(deps): update dependency seroval to v1.6.8 [security] - #329
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
renovate
Bot
force-pushed
the
renovate/npm-seroval-vulnerability
branch
18 times, most recently
from
November 9, 2026 18:00
64b69aa to
5041ec7
Compare
renovate
Bot
force-pushed
the
renovate/npm-seroval-vulnerability
branch
from
November 13, 2026 01:48
5041ec7 to
a67c9b2
Compare
renovate
Bot
force-pushed
the
renovate/npm-seroval-vulnerability
branch
from
November 13, 2026 01:51
a67c9b2 to
00420d1
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.5.4→1.6.8Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization
CVE-2026-104845 / GHSA-jp82-f5mq-hwhp
More information
Details
Summary
deserializeTypedArray casts the source node to ArrayBuffer without checking it and never bounds the element count. Pass a plain object with a length property and it hits the array-like TypedArray constructor, allocating that many elements. The offset guard above it can't stop this: source.byteLength is undefined, so the comparison is always false.
The length is one integer in the JSON, so a tiny payload can name any allocation size, and it runs synchronously inside fromJSON, starving the event loop instead of just slowing one request. fromCrossJSON is the same.
Impact is unauthenticated CPU/memory exhaustion for any service deserializing untrusted Seroval JSON: same profile as the array-length and nested-depth DoS issues already fixed here. No confidentiality or integrity impact. DataView has the same unchecked cast but throws instead of allocating. A runtime instanceof ArrayBuffer check plus a size cap should fix it.
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).
Seroval:
fromJSON()Promise thenable assimilation invokes plugin-produced callables (bypass of GHSA-mv8w-475r-vwqw)CVE-2026-104846 / GHSA-p6vx-979v-rg4c
More information
Details
A fulfilled Promise node deserialized by
fromJSON()can trigger unintended invocation of a plugin-produced callable through native ECMAScript thenable assimilation. This bypasses the type-confusion fix inseroval@1.5.3(GHSA-mv8w-475r-vwqw / CVE-2026-59940) and affects every plugin-capable release from0.12.0through the current1.6.0.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check
CVE-2026-116580 / GHSA-7rv5-mrxv-xcr9
More information
Details
Summary
When
fromJSONrebuilt an async iterator, it calledon()on the iterator's source without checking that the source was a seroval stream. A crafted payload could pick another value as the source, such as a function returned by an application plugin. The deserializer then called that value'sonmethod.This is a variant of GHSA-mv8w-475r-vwqw. That fix covered the promise and stream control nodes but not the async iterator node.
Impact
An application that passes untrusted input to
fromJSONwith plugins that return callable values can have those callables invoked during deserialization. What this allows depends on what the plugin's values do.Affected versions
Patches
Fixed in
seroval@1.6.8. Streams and sequences are now internal class instances. The deserializer checks the source value withinstanceof, so plain data and plugin values are rejected no matter which node id they use.Workarounds
Avoid plugins whose
deserializereturns functions or objects with anonmethod when decoding untrusted input. Upgrading to 1.6.8 is recommended.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Seroval
fromJSON/fromCrossJSONdenial of service via unvalidated array node lengthCVE-2026-116584 / GHSA-wp97-x4hv-qvhp
More information
Details
Summary
fromJSONandfromCrossJSONdid not check that an array node's element list is an array. A small crafted payload could set the length the decoder used. That length controlled how much memory was allocated and how many times the decoder looped, and it did not depend on the size of the payload.Impact
A service that passes untrusted input to
fromJSONorfromCrossJSONcan be made unavailable by an unauthenticated request.This affects any framework that decodes request bodies with these functions before its own validation runs.
This issue is a bypass of the fix for GHSA-66fc-rw6m-c2q6 in 1.4.1.
Patches
Fixed in
seroval@1.6.8. The deserializer now rejects any node whose element list is not an array, and throwsSerovalMalformedNodeError.Workarounds
None. Upgrade to 1.6.8.
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).
Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS)
CVE-2026-116581 / GHSA-97r2-qh9m-474h
More information
Details
Summary
fromJSONandfromCrossJSONused two node fields without checking them.Impact
A service that passes untrusted input to
fromJSONorfromCrossJSONcan be made unavailable by an unauthenticated request.Patches
Fixed in
seroval@1.6.8.Invalid input throws
SerovalMalformedNodeError.Workarounds
None. Upgrade to 1.6.8.
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).
Release Notes
lxsmnsyc/seroval (seroval)
v1.6.8Compare Source
v1.6.2Compare Source
v1.6.1Compare Source
v1.6.0Compare Source
v1.5.6Compare Source
v1.5.5: 1.5.5Credits to @spokodev and @greymoth-jp
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.