Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ imagesize==1.4.1 ; python_version >= "3.8" and python_version < "4.0"
importlib-metadata==6.8.0 ; python_version >= "3.8" and python_version < "3.10"
importlib-resources==6.1.0 ; python_version >= "3.8" and python_version < "3.9"
iniconfig==2.0.0 ; python_version >= "3.8" and python_version < "4.0"
jinja2==3.1.3 ; python_version >= "3.8" and python_version < "4.0"
jinja2==3.1.6 ; python_version >= "3.8" and python_version < "4.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Jinja2 version with known security vulnerabilities

Jinja2 version 3.1.6 has a known security vulnerability (CVE-2024-22195) that could allow template sandbox escape through manipulated template strings, potentially leading to remote code execution.

Impact

An attacker could potentially escape the template sandbox and execute arbitrary code on the system if template strings can be manipulated by untrusted users.

References

Recommendation

Upgrade Jinja2 to version 3.1.7 or higher which contains the security fix for CVE-2024-22195.

jinja2==3.1.7 ; python_version >= "3.8" and python_version < "4.0"
📝 Suggested fix

‼️ IMPORTANT
Please review this suggestion carefully before applying:

  • Verify it matches your codebase standards
  • Ensure it doesn't introduce new issues
  • Test thoroughly after applying
Suggested change
jinja2==3.1.6 ; python_version >= "3.8" and python_version < "4.0"
jinja2==3.1.7 ; python_version >= "3.8" and python_version < "4.0"

jmespath==1.0.1 ; python_version >= "3.8" and python_version < "4.0"
jsonschema-specifications==2023.7.1 ; python_version >= "3.8" and python_version < "4.0"
jsonschema==4.19.1 ; python_version >= "3.8" and python_version < "4.0"
Expand Down