Huawei EulerOS: Security Advisory for python-jinja2 (EulerOS-SA-2020-1127) - In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape
Reporter | Title | Published | Views | Family All 77 |
---|---|---|---|---|
![]() | Important: python-jinja2 security update | 13 May 201910:43 | – | almalinux |
![]() | [SECURITY] Fedora 29 Update: python-jinja2-2.10.1-1.fc29 | 27 Apr 201923:11 | – | fedora |
![]() | [SECURITY] Fedora 28 Update: python-jinja2-2.10.1-1.fc28 | 27 Apr 201921:36 | – | fedora |
![]() | [SECURITY] Fedora 30 Update: python-jinja2-2.10.1-1.fc30 | 27 Apr 201921:32 | – | fedora |
![]() | CVE-2019-10906 | 6 Apr 201923:17 | – | cvelist |
![]() | EulerOS Virtualization 3.0.2.2 : python-jinja2 (EulerOS-SA-2020-2202) | 21 Oct 202000:00 | – | nessus |
![]() | RHEL 6 / 7 : rh-python36-python-jinja2 (RHSA-2019:1329) | 28 Apr 202400:00 | – | nessus |
![]() | Amazon Linux 2 : python3-jinja2 (ALAS-2024-2582) | 24 Jun 202400:00 | – | nessus |
![]() | Fedora 29 : python-jinja2 (2019-04a42e480b) | 29 Apr 201900:00 | – | nessus |
![]() | EulerOS Virtualization for ARM 64 3.0.2.0 : python-jinja2 (EulerOS-SA-2020-1570) | 1 May 202000:00 | – | nessus |
Source | Link |
---|---|
developer | www.developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html |
# SPDX-FileCopyrightText: 2020 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.1.2.2020.1127");
script_cve_id("CVE-2019-10906");
script_tag(name:"creation_date", value:"2020-02-24 09:07:12 +0000 (Mon, 24 Feb 2020)");
script_version("2024-02-05T14:36:56+0000");
script_tag(name:"last_modification", value:"2024-02-05 14:36:56 +0000 (Mon, 05 Feb 2024)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-04-09 14:28:58 +0000 (Tue, 09 Apr 2019)");
script_name("Huawei EulerOS: Security Advisory for python-jinja2 (EulerOS-SA-2020-1127)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2020 Greenbone AG");
script_family("Huawei EulerOS Local Security Checks");
script_dependencies("gb_huawei_euleros_consolidation.nasl");
script_mandatory_keys("ssh/login/euleros", "ssh/login/rpms", re:"ssh/login/release=EULEROS\-2\.0SP5");
script_xref(name:"Advisory-ID", value:"EulerOS-SA-2020-1127");
script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2020-1127");
script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'python-jinja2' package(s) announced via the EulerOS-SA-2020-1127 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.(CVE-2019-10906)");
script_tag(name:"affected", value:"'python-jinja2' package(s) on Huawei EulerOS V2.0SP5.");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-rpm.inc");
release = rpm_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "EULEROS-2.0SP5") {
if(!isnull(res = isrpmvuln(pkg:"python-jinja2", rpm:"python-jinja2~2.7.2~2.h2.eulerosv2r7", rls:"EULEROS-2.0SP5"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo