Skip to content

BUG: AppInspect: Check for deprecated third-party Mako templates warning #1946

@ljerabek

Description

@ljerabek

Description

Sorry if this is posted in the wrong section, but I wanted to make the team was aware. Since the mako files are added as part of UCC build process.

App-Inspect warns mako template appserver/templates/base.html poses a critical security risk by allowing arbitrary Python code execution.

check_for_existence_of_python_code_block_in_mako_template – prohibits the use of Mako templates.

Security vulnerabilities
Check for deprecated third-party Mako templates that allow arbitrary
Python code execution through Splunk's CherryPy process, creating critical
security vulnerabilities.
WARNING: Detected use of a third-party Mako template, which
poses a critical security risk by allowing arbitrary Python code
execution. Remove custom Mako templates. File:
appserver/templates/base.html

What UCC version are you using?

6.0.1

Additional System Info

WSL / Python 3.12.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions