lava: CVE-2022-45132: Code execution in jinja templates

Related Vulnerabilities: CVE-2022-45132  

Debian Bug report logs - #1024428
lava: CVE-2022-45132: Code execution in jinja templates

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sat, 19 Nov 2022 10:51:02 UTC

Severity: grave

Tags: security, upstream

Found in version lava/2022.10-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian LAVA team <pkg-linaro-lava-devel@lists.alioth.debian.org>:
Bug#1024428; Package src:lava. (Sat, 19 Nov 2022 10:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian LAVA team <pkg-linaro-lava-devel@lists.alioth.debian.org>. (Sat, 19 Nov 2022 10:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lava: CVE-2022-45132
Date: Sat, 19 Nov 2022 11:46:56 +0100
Source: lava
Version: 2022.10-1
Severity: grave
Tags: security upstream
Justification: user security hole
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for lava.

CVE-2022-45132[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-45132
    https://www.cve.org/CVERecord?id=CVE-2022-45132
[1] https://lists.lavasoftware.org/archives/list/lava-announce@lists.lavasoftware.org/thread/WHXGQMIZAPW3GCQEXYHC32N2ZAAAIYCY/
[2] https://git.lavasoftware.org/lava/lava/-/commit/ab17e8304f10c7c0fe912067f2ed85a4753241c7

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Changed Bug title to 'lava: CVE-2022-45132: Code execution in jinja templates' from 'lava: CVE-2022-45132'. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Sat, 19 Nov 2022 10:57:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Nov 20 07:17:16 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.