# GHSA-5X5Q-8CGM-2HJQ: Karate has vulnerable dependency on json-smart package (CVE-2023-1370)

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2023-03-31
- Modified: 2025-01-07

## Affected versions

- com.intuit.karate:karate-core (Maven): from 1.3.1, fixed in 1.4.0

## Description

### Summary
The CVE 
![image](https://user-images.githubusercontent.com/2663049/229081854-1155c041-56fa-48ca-a7ff-f2f085b845fd.png)


### How to fix it
Very simple, just upgrade json-path package to 2.8.0 (from 2.7.0) inside karate-core pom.xml ;)

## References

- https://github.com/karatelabs/karate/security/advisories/GHSA-5x5q-8cgm-2hjq
- https://github.com/oswaldobapvicjr/jsonmerge/security/advisories/GHSA-493p-pfq6-5258
- https://nvd.nist.gov/vuln/detail/CVE-2023-1370
- https://github.com/karatelabs/karate

Page: https://cve.now/GHSA-5X5Q-8CGM-2HJQ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
