Skip to content

Commit

Permalink
Fix Safety warnings about Tornado and Poetry (#1231)
Browse files Browse the repository at this point in the history
* chore: bump tornado in lockfile to fix safety warning

* chore: ignore PVE-2024-73456 against poetry < 1.8.4
  • Loading branch information
cjolowicz authored Jan 19, 2025
1 parent 53062d9 commit 3e83401
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
15 changes: 12 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,20 @@ def safety(session: Session) -> None:
# ADVISORY: In Jinja2, the from_string function is prone to Server
# Side Template Injection (SSTI) where it takes the "source" parameter as a
# template object, renders it, and then returns it. The attacker can exploit
# it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple
# third parties believe that this vulnerability isn't valid because users
# shouldn't use untrusted templates without sandboxing.
# it with {{INJECTION COMMANDS}} in a URI.
#
# NOTE: The maintainer and multiple third parties believe that this
# vulnerability isn't valid because users shouldn't use untrusted templates
# without sandboxing.
#
# CVE-2019-8341
"70612",
# ADVISORY: Poetry requires virtualenv version 20.26.6 or higher to protect
# against potential command injection attacks when running poetry shell in
# untrusted projects.
#
# PVE-2024-73456
"74403",
]

session.run(
Expand Down
26 changes: 13 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e83401

Please sign in to comment.