Improper Input Validation Affecting templated-dictionary package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (72nd percentile)

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 IDSNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
  • published17 Jan 2024
  • disclosed16 Jan 2024
  • creditSankin Nikita Alexeevich

Introduced: 16 Jan 2024

CVE-2023-6395  (opens in a new tab)
CWE-1336  (opens in a new tab)

How 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.

CVSS Scores

version 3.1