Update dependency ajv to v8.18.0 [SECURITY]#286
Open
balena-renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update dependency ajv to v8.18.0 [SECURITY]#286balena-renovate[bot] wants to merge 1 commit intomasterfrom
balena-renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
|
Website deployed to CF Pages, 👀 preview link https://507661cf.balena-design-system.pages.dev |
248f5eb to
f7167fd
Compare
f7167fd to
a41a1e9
Compare
a41a1e9 to
f5e912d
Compare
f5e912d to
cd599e6
Compare
cd599e6 to
1cb7e3c
Compare
Update ajv from 8.17.1 to 8.18.0 Change-type: patch
1cb7e3c to
81293dd
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:
8.17.1→8.18.0ajv has ReDoS when using
$dataoptionCVE-2025-69873 / GHSA-2g4f-4pwh-qvx6
More information
Details
ajv (Another JSON Schema Validator) through version 8.17.1 is vulnerable to Regular Expression Denial of Service (ReDoS) when the
$dataoption is enabled. The pattern keyword accepts runtime data via JSON Pointer syntax ($datareference), which is passed directly to the JavaScriptRegExp()constructor without validation. An attacker can inject a malicious regex pattern (e.g.,\"^(a|a)*$\") combined with crafted input to cause catastrophic backtracking. A 31-character payload causes approximately 44 seconds of CPU blocking, with each additional character doubling execution time. This enables complete denial of service with a single HTTP request against any API using ajv with$data: true for dynamic schema validation.Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
ajv-validator/ajv (ajv)
v8.18.0Compare Source
What's Changed
"sideEffects": falsetopackage.jsonby @josdejong in #2480New Contributors
Full Changelog: ajv-validator/ajv@v8.17.1...v8.18.0
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 has been generated by Mend Renovate.