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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.38% (74th 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 ID SNYK-PYTHON-TEMPLATEDDICTIONARY-6160031
  • published 17 Jan 2024
  • disclosed 16 Jan 2024
  • credit Sankin Nikita Alexeevich

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
Expand this section

Snyk

Recommended
6.7 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

9.8 critical
Expand this section

Red Hat

6.7 medium