Vulnerabilities in pkg:maven/com.intuit.karate/karate-core
PACKAGEGHSA-5x5q-8cgm-2hjq is a HIGH (CVSS 7.5) karate has vulnerable dependency on vulnerability (CWE-674: Uncontrolled Recursion) affecting Karate core libraries in the Maven ecosystem. The issue involves karate has vulnerable dependency on json-smart package (cve-2023-1370). Remediation is available by upgrading affected packages to version 1.4.0.
pkg:maven/com.intuit.karate/karate-core
Vulnerability advisories affecting package pkg:maven/com.intuit.karate/karate-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-5x5q-8cgm-2hjq | - | HIGH | Karate has vulnerable dependency on json-smart package (CVE-2023-1370) |
GHSA-5x5q-8cgm-2hjq at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix GHSA-5x5q-8cgm-2hjq
To remediate this vulnerability, upgrade all affected Karate core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-core</artifactId>
<version>1.4.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.intuit.karate
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-5x5q-8cgm-2hjq, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.intuit.karate
Analyze the terminal output to locate any version of Karate core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.intuit.karate command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In Karate core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-5x5q-8cgm-2hjq Affected Karate core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.intuit.karate:karate-core
|
Maven |
≥ 1.3.1
< 1.4.0
All 1 versions
1.3.1
|
1.4.0
|
References
Frequently Asked Questions
What is GHSA-5x5q-8cgm-2hjq?
Which Karate core versions are affected?
What version fixes GHSA-5x5q-8cgm-2hjq?
Is karate-core affected?
What is the CVSS score of GHSA-5x5q-8cgm-2hjq?
What CWE is associated with GHSA-5x5q-8cgm-2hjq?
How can I check Maven dependencies for GHSA-5x5q-8cgm-2hjq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5x5q-8cgm-2hjq",
"modified" : "2025-01-07T15:11:49Z",
"published" : "2023-03-31T22:44:09Z",
"aliases" : [ ],
"summary" : "Karate has vulnerable dependency on json-smart package (CVE-2023-1370)",
"details" : "### Summary\nThe CVE \n\n\n\n### How to fix it\nVery simple, just upgrade json-path package to 2.8.0 (from 2.7.0) inside karate-core pom.xml ;)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.intuit.karate:karate-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.1"
}, {
"fixed" : "1.4.0"
} ]
} ],
"versions" : [ "1.3.1" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/karatelabs/karate/security/advisories/GHSA-5x5q-8cgm-2hjq"
}, {
"type" : "WEB",
"url" : "https://github.com/oswaldobapvicjr/jsonmerge/security/advisories/GHSA-493p-pfq6-5258"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1370"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/karatelabs/karate"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-31T22:44:09Z",
"nvd_published_at" : null
}
}