Skip to content

Commit 2879de6

Browse files
committed
safety: ignore irrelevant Jinja CVE
safety started to complain about CVE-2019-8341 in jinja. The validity of the CVE is widely disputed, and in any case it is not exploitable here, so add it to the ignored list.
1 parent 4fa8f8a commit 2879de6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.safety-policy.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
security:
2+
ignore-cvss-severity-below: 4
3+
ignore-vulnerabilities:
4+
70612:
5+
# CVE-2019-8341, jinja2:
6+
#
7+
# In summary, the CVE says that it is unsafe to use untrusted
8+
# user input as Jinja template sources as arbitrary code execution
9+
# is possible. This should be obvious, so unsurprisingly Jinja
10+
# maintainers and various third-parties reject/dispute the CVE,
11+
# including Red Hat in https://bugzilla.redhat.com/show_bug.cgi?id=1677653
12+
#
13+
reason: >-
14+
Not exploitable: user input is not used in any Jinja template sources
15+
continue-on-vulnerability-error: False

0 commit comments

Comments
 (0)