Gentoo Archives: gentoo-announce

From: ajak@g.o
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202107-19 ] Jinja: Denial of service
Date: Thu, 08 Jul 2021 04:10:15
Message-Id: YOZ6FqLxdSK2BW9+@sol.nexus.lan
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202107-19
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Low
8 Title: Jinja: Denial of service
9 Date: July 08, 2021
10 Bugs: #768300
11 ID: 202107-19
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An inefficient regular expression could be exploited to cause a Denial
19 of Service condition.
20
21 Background
22 ==========
23
24 Jinja is a template engine written in pure Python.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-python/jinja < 2.11.3 >= 2.11.3
33
34 Description
35 ===========
36
37 The 'urlize' filter in Jinja utilized an inefficient regular expression
38 that could be exploited to consume excess CPU.
39
40 Impact
41 ======
42
43 An attacker could cause a Denial of Service condition via crafted input
44 to the 'urlize' Jinja filter.
45
46 Workaround
47 ==========
48
49 There is no known workaround at this time.
50
51 Resolution
52 ==========
53
54 All Jinja users should upgrade to the latest version:
55
56 # emerge --sync
57 # emerge --ask --oneshot --verbose ">=dev-python/jinja-2.11.3"
58
59 References
60 ==========
61
62 [ 1 ] CVE-2020-28493
63 https://nvd.nist.gov/vuln/detail/CVE-2020-28493
64
65 Availability
66 ============
67
68 This GLSA and any updates to it are available for viewing at
69 the Gentoo Security Website:
70
71 https://security.gentoo.org/glsa/202107-19
72
73 Concerns?
74 =========
75
76 Security is a primary focus of Gentoo Linux and ensuring the
77 confidentiality and security of our users' machines is of utmost
78 importance to us. Any security concerns should be addressed to
79 security@g.o or alternatively, you may file a bug at
80 https://bugs.gentoo.org.
81
82 License
83 =======
84
85 Copyright 2021 Gentoo Foundation, Inc; referenced text
86 belongs to its owner(s).
87
88 The contents of this document are licensed under the
89 Creative Commons - Attribution / Share Alike license.
90
91 https://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature