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

 

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

Published: January 16, 2023


Vulnerability identifier: #VU71183
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2022-42902
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to improper input validation in lava_server/lavatable.py. A remote attacker can send a specially crafted request and force the lava-server-gunicorn service to execute arbitrary code on the target system.

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


Affected software

Linaro Automated Validation Architecture (LAVA)
Debian Linux
lava (Debian package)

How to mitigate CVE-2022-42902

Install updates from vendor's website.

Linaro Automated Validation Architecture (LAVA) - update to 2022.10
lava (Debian package) - update to 2020.12-5+deb11u1

External References

Related Security Bulletins