CVE-2022-45132

In Linaro Automated Validation Architecture (LAVA) before 2022.11.1, remote code execution can be achieved through user-submitted Jinja2 template

Critical · published November 18, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
80.7
In the wild
Unconfirmed
What it is

🔥 A single user-submitted Jinja2 template is all it takes for remote code execution in LAVA! Think of it like a trusted chef who invites diners to customize their meals — but instead of checking the ingredients, they start cooking whatever the diners suggest, leading to a potential kitchen disaster! 🍽️ An attacker can slip in malicious code through the REST API, potentially taking over the LAVA server and executing commands at will. This could lead to a complete compromise of sensitive data and system controls, making it absolutely devastating for users and organizations relying on LAVA for automated validation.

Put simply

Think of it like a trusted chef who invites diners to customize their meals — but instead of checking the ingredients, they start cooking whatever the diners suggest, leading to a potential kitchen disaster! 🍽️ This vulnerability allows remote code execution due to the way LAVA processes user input as a Jinja2 template without proper sanitization, enabling attackers to inject harmful commands directly into the server's execution environment.

What to do

An attacker can slip in malicious code through the REST API, potentially taking over the LAVA server and executing commands at will. This could lead to a complete compromise of sensitive data and system controls, making it absolutely devastating for users and organizations relying on LAVA for automated validation. Upgrade to LAVA version 2022.11.1 immediately to patch this critical flaw. Additionally, review and sanitize user inputs to prevent similar vulnerabilities in the future. Don't wait — secure your system now! You've got this! Follow these steps and your LAVA server will be fortified in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02011 · 80.7th percentile
Published
2022-11-18T00:00Z
EPSS history
Timeline
  • 18 NOV 00:00Z
    In Linaro Automated Validation Architecture (LAVA) before 2022.11.1, remote code execution can be achieved through user-submitted Jinja2 template
    cvelistv5