CVE-2021-42836
CBL Mariner vulnerability analysis and mitigation

Overview

GJSON before version 1.9.3 contains a vulnerability that allows a Regular Expression Denial of Service (ReDoS) attack. The vulnerability was discovered and disclosed in October 2021, affecting all versions of the GJSON library prior to 1.9.3. GJSON is a Go package that provides functionality for parsing and querying JSON (NVD).

Technical details

The vulnerability is classified as an Uncontrolled Resource Consumption (CWE-400) issue. It has received a CVSS v3.1 base score of 7.5 (HIGH), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability stems from the way GJSON handles pattern matching in 'like' queries, where crafted JSON input could trigger excessive processing time in the regular expression engine (NVD).

Impact

When exploited, this vulnerability can lead to Denial of Service conditions by consuming excessive CPU resources through crafted JSON input patterns. The attack specifically targets the pattern matching functionality, potentially making the service unresponsive (NVD).

Mitigation and workarounds

The vulnerability was patched in GJSON version 1.9.3 by implementing a complexity limit on pattern matching operations. The fix introduces a MatchLimit function that restricts the complexity of input patterns to prevent ReDoS attacks. Users are advised to upgrade to version 1.9.3 or later (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66031HIGH8.7
  • JavaScriptJavaScript
  • kibana-8.18
NoYesNov 26, 2025
CVE-2025-12638HIGH8
  • CBL MarinerCBL Mariner
  • keras
NoYesNov 28, 2025
CVE-2025-13601HIGH7.7
  • CBL MarinerCBL Mariner
  • glib2-devel
NoYesNov 26, 2025
CVE-2025-66293HIGH7.1
  • OpenJDK JDKOpenJDK JDK
  • java-25-openjdk
NoYesDec 03, 2025
CVE-2025-66030MEDIUM6.3
  • JavaScriptJavaScript
  • kubeflow-pipelines
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management