Code Injection in JSON schema - CVE-2021-3918

 

Code Injection in JSON schema - CVE-2021-3918

Published: June 7, 2022 / Updated: July 15, 2022


Vulnerability identifier: #VU64034
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-3918
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Tom de Grunt
Affected software:
JSON schema

Detailed vulnerability description

The disclosed vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to insufficient sanitization of user-supplied data during the validation of a JSON object. A remote attacker can pass a specially crafted JSON file for validation and execute arbitrary code.


How to mitigate CVE-2021-3918

Install update from vendor's website.

Sources