chore(deps): update dependency ajv to v8.18.0 - abandoned#40
Open
mend-on-mend[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency ajv to v8.18.0 - abandoned#40mend-on-mend[bot] wants to merge 1 commit intomainfrom
mend-on-mend[bot] wants to merge 1 commit intomainfrom
Conversation
Signed-off-by: mend-on-mend[bot] <mend-on-mend[bot]@users.noreply.github.com>
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Author
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
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 $data option
CVE-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 $data option is enabled. The pattern keyword accepts runtime data via JSON Pointer syntax ($data reference), which is passed directly to the JavaScript RegExp() 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 OSV and 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: 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 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.
Note
Low Risk
Lockfile-only dependency bump with limited blast radius; primary risk is unexpected schema-validation behavior changes from the
ajvpatch/minor update.Overview
Updates
ajvfrom8.17.1to8.18.0inworkspaces/tech-insights/yarn.lock(new resolution/checksum).This is a dependency-only change intended to pick up the upstream ReDoS mitigation related to
$data-driven regex handling.Written by Cursor Bugbot for commit 707ef94. This will update automatically on new commits. Configure here.