CVE-2021-45082
Command Injection in Cobbler
7.8
HIGH
CVSS 3.1
EPSS 0.04%
Description
An issue was discovered in Cobbler before 3.3.1. In the templar.py file, the function check_for_invalid_imports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)
How to fix CVE-2021-45082
To remediate CVE-2021-45082, upgrade the affected package to a fixed version below.
- PyPI/cobbler—upgrade to 3.3.1 or later
- —upgrade to 3.3.1 or later
Is CVE-2021-45082 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.3.1
- from 0, < 3.3.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |