RCE in Cobbler Project
CVE-2021-45082
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.)
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (41.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 41.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Cobbler Project
- Fedoraproject Fedora — versions 34, 35, 36
- openSUSE Backports — versions sle-15
- openSUSE Factory
- SUSE Linux Enterprise Server — versions 11, 12, 15
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/cobbler/cobbler/releases (Third Party Advisory, Release Notes)
- bugzilla.suse.com/show_bug.cgi (Exploit, Patch, Third Party Advisory, Issue Tracking)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2021-45082?
- CVE-2021-45082 is a high-severity vulnerability in Cobbler Project, classified under Command Injection. CVSS score: 7.8/10. Published 2022-02-19.
- How severe is CVE-2021-45082?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2021-45082 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.