fix(deps): update dependency valibot to v1.2.0 [security] - #4018
fix(deps): update dependency valibot to v1.2.0 [security]#4018renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Finished running flow.
|
||||||||||||
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Check changeset necessityStatus: REQUIRED Reason:
Changeset (copy & paste):---
"@liam-hq/cli": patch
"@liam-hq/erd-core": patch
"@liam-hq/schema": patch
---
- 🐛 Update valibot to v1.2.0 with security fix and improvements
- Bump valibot from 1.1.0 to 1.2.0 to address ReDoS in `emoji` validator and include upstream enhancements |
🤖 Agent Deep Modeling ExecutionStarted at: 2026-07-12 13:19:17 UTC View DetailsCommand Output
RUN v3.2.4 /home/runner/work/liam/liam/frontend/internal-packages/agent (node:7712) ExperimentalWarning: WASI is an experimental feature and might change at any time ✅ [INFO] 2026-07-12T13:19:19.600Z Context: trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=1c1c8a16-c8ef-438c-9d1b-be52e32eca15; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=8b06e3da-a9d6-4989-bfb0-c139f81a7acc; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=db6ec647-53aa-40b5-81d9-e1236652dc21; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=065e19fd-6563-46a7-8bff-10a16f0ac14d; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=4bb58d66-661d-444b-905d-92c644953d79; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=d36eecc9-b853-42f9-afeb-2760d6272f03; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=6c768b68-2ef1-456a-a335-63c973c73ba9; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=b0c356dd-3ceb-49f0-b832-d179d9a395b4; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=cf0c0578-287c-490c-845d-009df98d4b7a; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=2b38ad55-928c-41f0-b2ad-7d27370c4828; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=c56620f7-b694-41f1-810c-0ae2de8d5687; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=0fbf5cd0-9614-4be7-8cb9-55524fc9a255; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=c506224c-57fa-40f2-b392-8cb9528fe9b6; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=ae5752af-5b30-4372-9be9-bba86ef29a8f; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=7bc4a621-017e-4fb8-9617-4dbc5f6e0ca5; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=25dd04b5-2cb6-4715-a4d4-b213f4c9d7d1; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=a2eebc29-d2f9-45b4-998e-08c19526bbcb; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=9107483d-63d4-4e18-80ee-b41a6f7e4b58; trace=7e1bde3f-e9d0-4b84-a595-4e9e4aa3ce28,id=2e897cd7-921c-4f63-b1b0-d55a5f16dc63 x ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/createGraph.integration.test.ts > createGraph Integration > should execute complete workflow Troubleshooting URL: https://js.langchain.com/docs/troubleshooting/errors/MODEL_AUTHENTICATION/ ❯ RunnableCallable.analyzeRequirementsNode [as func] src/pm-agent/nodes/analyzeRequirementsNode.ts:38:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed (1) ELIFECYCLE Command failed with exit code 1. |
7970378 to
7f38f17
Compare
7f38f17 to
cdb0778
Compare
cdb0778 to
9c3c85f
Compare
cd95b48 to
d3cd5f1
Compare
d3cd5f1 to
0baba02
Compare
0baba02 to
ad60987
Compare
ad60987 to
0e2e202
Compare
0e2e202 to
7a948dd
Compare
This PR contains the following updates:
1.1.0→1.2.0Valibot has a ReDoS vulnerability in
EMOJI_REGEXCVE-2025-66020 / GHSA-vqpr-j7v3-hqw9
More information
Details
Summary
The
EMOJI_REGEXused in theemojiaction is vulnerable to a Regular Expression Denial of Service (ReDoS) attack. A short, maliciously crafted string (e.g., <100 characters) can cause the regex engine to consume excessive CPU time (minutes), leading to a Denial of Service (DoS) for the application.Details
The ReDoS vulnerability stems from "catastrophic backtracking" in the
EMOJI_REGEX. This is caused by ambiguity in the regex pattern due to overlapping character classes.Specifically, the class
\p{Emoji_Presentation}overlaps with more specific classes used in the same alternation, such as[\u{1F1E6}-\u{1F1FF}](regional indicator symbols used for flags) and\p{Emoji_Modifier_Base}.When the regex engine attempts to match a string that almost matches but ultimately fails (like the one in the PoC), this ambiguity forces it to explore an exponential number of possible paths. The matching time increases exponentially with the length of the crafted input, rather than linearly.
PoC
The following code demonstrates the vulnerability.
Impact
Any project using Valibot's
emojivalidation on user-controllable input is vulnerable to a Denial of Service attack.An attacker can block server resources (e.g., a web server's event loop) by submitting a short string to any endpoint that uses this validation. This is particularly dangerous because the attack string is short enough to bypass typical input length restrictions (e.g., maxLength(100)).
Recommended Fix
The root cause is the overlapping character classes. This can be resolved by making the alternatives mutually exclusive, typically by using negative lookaheads (
(?!...)) to subtract the specific classes from the more general one.The following modified
EMOJI_REGEXapplies this principle: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
open-circle/valibot (valibot)
v1.2.0Compare Source
Many thanks to @EskiMojo14, @makenowjust, @ysknsid25 and @jacekwilczynski for contributing to this release.
toBigint,toBoolean,toDate,toNumberandtoStringtransformation actions (pull request #1212)examplesaction to add example values to a schema (pull request #1199)getExamplesmethod to extract example values from a schema (pull request #1199)isbnvalidation action to validate ISBN-10 and ISBN-13 strings (pull request #1097)RawCheckAddIssue,RawCheckContext,RawCheckIssueInfo,RawTransformAddIssue,RawTransformContextandRawTransformIssueInfotypes for better developer experience withrawCheckandrawTransformactions (pull request #1359)EMOJI_REGEXused byemojiactionConfiguration
📅 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.