In Linaro Automated Validation Architecture (LAVA) before 2022.11.1, remote code execution can be achieved through user-submitted Jinja2 template. The REST API endpoint for validating device configuration files in lava-server loads input as a Jinja2 template in a way that can be used to trigger remote code execution in the LAVA server.
References
Link | Resource |
---|---|
https://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/ | Mailing List Patch Vendor Advisory |
https://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/ | Exploit Third Party Advisory |
Configurations
Information
Published : 2022-11-18 15:15
Updated : 2022-11-23 05:19
NVD link : CVE-2022-45132
Mitre link : CVE-2022-45132
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
linaro
- lava