CVE-2022-45132
published 2022-11-18CVE-2022-45132: In Linaro Automated Validation Architecture (LAVA) before 2022.11.1, remote code execution can be achieved through user-submitted Jinja2 template. The REST API…
PriorityP267critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.86%
76.6th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | lava | < lava 2023.01-1 (bookworm) | lava 2023.01-1 (bookworm) |
| linaro | lava | < 2022.11.1 | 2022.11.1 |
| linaro | lava | >= 0 < 2023.01-1 | 2023.01-1 |
| linaro | lava | >= 0 < 2023.01-1 | 2023.01-1 |
Detection & IOCsextracted from sources · hover to see the quote
- →The vulnerable REST API endpoint for validating device configuration files in lava-server loads user-submitted input as a Jinja2 template, enabling SSTI-based RCE. Monitor for suspicious Jinja2 template syntax (e.g., `{{`, `{%`) in requests to the device configuration validation endpoint. ↗
- →Target LAVA versions prior to 2022.11.1 are vulnerable. Identify unpatched lava-server instances (pre-2022.11.1) exposed to untrusted users as high-priority targets for detection/patching. ↗
- ·Debian scopes this as 'local' impact. Fixed versions are: bookworm/forky/sid fixed in 2023.01-1; bullseye also resolved. Ensure patched package versions are deployed. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wjxx-hxfj-hfmh: In Linaro Automated Validation Architecture (LAVA) before 2022
ghsa_unreviewed·2022-11-19
CVE-2022-45132 [CRITICAL] CWE-94 GHSA-wjxx-hxfj-hfmh: In Linaro Automated Validation Architecture (LAVA) before 2022
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.
OSV
CVE-2022-45132: In Linaro Automated Validation Architecture (LAVA) before 2022
osv·2022-11-18·CVSS 9.8
CVE-2022-45132 [CRITICAL] CVE-2022-45132: In Linaro Automated Validation Architecture (LAVA) before 2022
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.
Debian
CVE-2022-45132: lava - In Linaro Automated Validation Architecture (LAVA) before 2022.11.1, remote code...
vendor_debian·2022·CVSS 9.8
CVE-2022-45132 [CRITICAL] CVE-2022-45132: lava - In Linaro Automated Validation Architecture (LAVA) before 2022.11.1, remote code...
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.
Scope: local
bookworm: resolved (fixed in 2023.01-1)
bullseye: resolved
forky: resolved (fixed in 2023.01-1)
sid: resolved (fixed in 2023.01-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://lists.lavasoftware.org/archives/list/lava-announce%40lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/https://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/https://lists.lavasoftware.org/archives/list/lava-announce%40lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/https://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/
2022-11-18
Published