Inefficient Regular Expression Complexity Affecting vitess-22 package, versions <22.0.3-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.06% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-VITESS22-15339299
  • published25 Feb 2026
  • disclosed11 Feb 2026

Introduced: 11 Feb 2026

NewCVE-2025-69873  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard vitess-22 to version 22.0.3-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vitess-22 package and not the vitess-22 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

ajv (Another JSON Schema Validator) before 8.18.0 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. This issue is also fixed in version 6.14.0.

CVSS Base Scores

version 3.1