Arbitrary Code Execution Affecting cobbler package, versions [,3.2.3)[3.3.0,3.3.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.08% (38th 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-COBBLER-2407582
  • published20 Feb 2022
  • disclosed20 Feb 2022
  • creditPaolo Perego

Introduced: 20 Feb 2022

CVE-2021-45082  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade cobbler to version 3.2.3, 3.3.1 or higher.

Overview

cobbler is a network install server.

Affected versions of this package are vulnerable to Arbitrary Code Execution via lacking template sanitization of imported modules in the check_for_invalid_imports function (templar.py file), which allows Cheetah code to import Python modules using the "#from MODULE import" syntax.

CVSS Scores

version 3.1