Vulnerability identifier: #VU71186
Vulnerability risk: High
CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-94
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Linaro Automated Validation Architecture (LAVA)
Server applications /
Remote management servers, RDP, SSH
Vendor: Linaro Limited
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.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Linaro Automated Validation Architecture (LAVA): 2020.01 - 2022.11
External links
http://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/
http://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.