Remote code execution in Linaro Automated Validation Architecture (LAVA)



Published: 2023-01-16
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-42902
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Linaro Automated Validation Architecture (LAVA)
Server applications / Remote management servers, RDP, SSH

Vendor Linaro Limited

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Code Injection

EUVDB-ID: #VU71183

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-42902

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Linaro Automated Validation Architecture (LAVA): 2020.01 - 2022.08

External links

http://git.lavasoftware.org/lava/lava/-/commit/e66b74cd6c175ff8826b8f3431740963be228b52?merge_request_iid=1834
http://git.lavasoftware.org/lava/lava/-/merge_requests/1834
http://www.debian.org/security/2022/dsa-5260
http://lists.debian.org/debian-lts-announce/2022/11/msg00019.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###