Code Injection in Literate - CVE-2020-2158

 

Code Injection in Literate - CVE-2020-2158

Published: March 12, 2020


Vulnerability identifier: #VU26044
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-2158
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jenkins
Affected software:
Literate

Detailed vulnerability description

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

The vulnerability exists due to the affected plugin does not configure its YAML parser to prevent the instantiation of arbitrary types. A remote authenticated attacker able to provide YAML input files to plugin’s build step can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2020-2158

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources