Impact
CopyOperation.apply and MoveOperation.apply in the json-patch library permit copy or move actions without enforcing the necessary access checks. The flaw in src/main/java/com/github/fge/jsonpatch/CopyOperation.java leads to improper control over which JSON nodes can be relocated or duplicated. A remote attacker who can supply arbitrary JSON input can alter protected data structures, potentially reading or deleting sensitive information. This results in a breach of data integrity and confidentiality and is classified as CWE-266 and CWE-284.
Affected Systems
The vulnerability affects the java-json-tools json-patch library up to version 1.13. Any application that includes these older versions and processes untrusted JSON input via the copy or move operations is exposed. The library is open‑source and widely integrated into Java projects, so a large number of software deployments may be affected.
Risk and Exploitability
The CVSS score of 5.3 places this issue in the medium severity range, but the exploitation method is remote and the exploit code is publicly available, increasing practical risk. EPSS data is not provided, so the likelihood estimate is unknown; however, the flaw has been documented in issue trackers and vulnerability databases, and KEV currently lists it as not included. Because the flaw allows unauthorized manipulation of JSON data via external input, systems that expose json‑patch to untrusted sources face significant risk of data tampering.
OpenCVE Enrichment