Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 734
Alerts This Week
Warning Icon 1 734

Gentoo: GLSA-202107-19 Low Severity: Jinja DoS Resolution

gentoo
Calendar Grey July 8, 2021
Dist Gentoo Esm H88
Service interruption concerns in Jinja could result in decreased efficiency. It is advised to upgrade to reduce potential hazards.
An inefficient regular expression could be exploited to cause a Denial of Service condition.

Summary

The 'urlize' filter in Jinja utilized an inefficient regular expression that could be exploited to consume excess CPU.

Resolution

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

References

[ 1 ] CVE-2020-28493 https://nvd.nist.gov/vuln/detail/CVE-2020-28493

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202107-19
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity
low
Lowest
Low
Medium
High
Critical

Severity: Low
Title: Jinja: Denial of service
Date: July 08, 2021
Bugs: #768300
ID: 202107-19

Synopsis

An inefficient regular expression could be exploited to cause a Denial of Service condition.

Background

Jinja is a template engine written in pure Python.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-python/jinja < 2.11.3 >= 2.11.3

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.