CVE-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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:linaro:lava:*:*:*:*:*:*:*:*

History

07 Nov 2023, 03:54

Type Values Removed Values Added
References
  • {'url': 'https://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/', 'name': 'https://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/', 'tags': ['Mailing List', 'Patch', 'Vendor Advisory'], 'refsource': 'MISC'}
  • () https://lists.lavasoftware.org/archives/list/lava-announce%40lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/ -

23 Nov 2022, 13:19

Type Values Removed Values Added
CWE CWE-94
First Time Linaro
Linaro lava
CPE cpe:2.3:a:linaro:lava:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References (MISC) https://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/ - (MISC) https://podalirius.net/en/articles/python-vulnerabilities-code-execution-in-jinja-templates/ - Exploit, Third Party Advisory
References (MISC) https://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/ - (MISC) https://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/ - Mailing List, Patch, Vendor Advisory

18 Nov 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-11-18 23:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-45132

Mitre link : CVE-2022-45132

CVE.ORG link : CVE-2022-45132


JSON object : View

Products Affected

linaro

  • lava
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')