Skip to content

Commit 61a9294

Browse files
committed
fix(security): pin jinja2>=3.1.5 to prevent CVE-2024-56326
Pins minimum jinja2 version to 3.1.5 in both pyproject.toml and web/requirements.txt. The installed version (3.1.6) is already patched, but unpinned dependencies could allow a vulnerable version on fresh install. CVE-2024-56326: Jinja sandbox breakout through indirect reference to format method. Patched in 3.1.5. Tests: 25/25 passing Web build: OK
1 parent 45e7085 commit 61a9294

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"typer[all]",
1313
"rich",
1414
"openai",
15-
"jinja2",
15+
"jinja2>=3.1.5",
1616
"pyyaml",
1717
]
1818

‎web/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
typer[all]
22
rich
33
openai
4-
jinja2
4+
jinja2>=3.1.5
55
pyyaml

0 commit comments

Comments
 (0)