CVE-2022-45132: Code Injection

Published Nov 18, 2022
·
Updated

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 Software

2 affected componentsFixes available
Linaro LAVA<2022.11.1
debian/lava
2019.01-52019.01-5+deb10u22020.12-5+deb11u22023.01-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/lava to a version that resolves this vulnerability.

    Fixed in 2019.01-5Fixed in 2019.01-5+deb10u2Fixed in 2020.12-5+deb11u2Fixed in 2023.01-2
  2. Upgrade

    Upgrade Linaro LAVA (lava-server) to a version that resolves this vulnerability.

    Fixed in 2022.11.1
  3. Compensating control

    Restrict the lava-server REST API endpoint used for validating device configuration files to trusted users/systems until the upgrade to 2022.11.1 is applied.

Event History

Nov 18, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-45132?

CVE-2022-45132 is a vulnerability in Linaro Automated Validation Architecture (LAVA) that allows remote code execution through a user-submitted Jinja2 template.

2

How can CVE-2022-45132 be exploited?

CVE-2022-45132 can be exploited by submitting a malicious Jinja2 template through the REST API endpoint for validating device configuration files in LAVA.

3

What is the severity of CVE-2022-45132?

CVE-2022-45132 has a severity rating of 9.8 (Critical).

4

What software versions are affected by CVE-2022-45132?

Linaro LAVA versions before 2022.11.1 and Debian package versions 2019.01-5, 2019.01-5+deb10u2, 2020.12-5+deb11u2, and 2023.01-2 are affected by CVE-2022-45132.

5

How can I fix CVE-2022-45132?

To fix CVE-2022-45132, update Linaro LAVA to version 2022.11.1 or later, and Debian package lava to the recommended versions: 2019.01-5, 2019.01-5+deb10u2, 2020.12-5+deb11u2, or 2023.01-2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203