Improper Input Validation Affecting templated-dictionary package, versions [0,]
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
- published 17 Jan 2024
- disclosed 16 Jan 2024
- credit Sankin Nikita Alexeevich
Introduced: 16 Jan 2024
CVE-2023-6395 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
templated-dictionary is a Dictionary with Jinja2 expansion
Affected versions of this package are vulnerable to Improper Input Validation due to the lack of sandboxing when expanding and executing Jinja2 templates that may be included in some configuration parameters.
A user who can control configuration tags can achieve privilege escalation and execute arbitrary code as the build system's user (potentially including root) by defining configuration tags that will be passed to mock
as parameters when run.