GLSA-202107-19 : Jinja: Denial of service

medium Nessus Plugin ID 157014

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202107-19 (Jinja: Denial of service)

The ‘urlize’ filter in Jinja utilized an inefficient regular expression that could be exploited to consume excess CPU.
Impact :

An attacker could cause a Denial of Service condition via crafted input to the ‘urlize’ Jinja filter.
Workaround :

There is no known workaround at this time.

Solution

All Jinja users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-python/jinja-2.11.3'

See Also

https://security.gentoo.org/glsa/202107-19

Plugin Details

Severity: Medium

ID: 157014

File Name: gentoo_GLSA-202107-19.nasl

Version: 1.4

Type: local

Published: 1/24/2022

Updated: 12/21/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2020-28493

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:jinja, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/8/2021

Vulnerability Publication Date: 2/1/2021

Reference Information

CVE: CVE-2020-28493

GLSA: 202107-19