Code Injection in Linaro Automated Validation Architecture (LAVA) - CVE-2022-45132

 

Code Injection in Linaro Automated Validation Architecture (LAVA) - CVE-2022-45132

Published: January 16, 2023


Vulnerability identifier: #VU71186
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-2022-45132
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Linaro Limited
Affected software:
Linaro Automated Validation Architecture (LAVA)

Detailed vulnerability description

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

The vulnerability exists due to improper input validation when handling Jinja2 templates. A remote user can submit a specially crafted Jinja2 template to the REST API endpoint for validating device configuration files in lava-server and execute arbitrary code on the target system.

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


How to mitigate CVE-2022-45132

Install updates from vendor's website.

Sources