Lucene search

K
gentooGentoo FoundationGLSA-202107-19
HistoryJul 08, 2021 - 12:00 a.m.

Jinja: Denial of service

2021-07-0800:00:00
Gentoo Foundation
security.gentoo.org
18

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

0.002 Low

EPSS

Percentile

57.4%

Background

Jinja is a template engine written in pure Python.

Description

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.

Resolution

All Jinja users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/jinja-2.11.3"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-python/jinja< 2.11.3UNKNOWN

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

0.002 Low

EPSS

Percentile

57.4%