Vulnerability · Published Nov 18, 2022 · Assigned by mitre
CVE-2022-45132
Critical 9.8
In plain English
A critical-severity code injection in the lava package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lava | 2023.01-1 | DEBIAN-CVE-2022-45132 |
| Debian:14 | lava | 2023.01-1 | DEBIAN-CVE-2022-45132 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H