{"schemaVersion":3,"id":"CVE-2021-45082","aliases":["GHSA-6cm4-gm85-972c","PYSEC-2022-37","UBUNTU-CVE-2021-45082","openSUSE-SU-2024:11853-1"],"status":"published","duplicateOf":null,"title":null,"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.)","dates":{"published":"2022-02-18T23:23:30.000Z","modified":"2024-08-04T04:32:13.626Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.5,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00495,"percentile":0.41155,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00495},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00495,"percentile":0.41155}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00495,"percentile":0.41155}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_54D42B248FAD4412","name":"Exploit Reference (bugzilla.suse.com)","source":"reference","url":"https://bugzilla.suse.com/show_bug.cgi?id=1193678","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"cobbler_project","product":"cobbler","name":"cobbler","label":"cobbler","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1","eol":null,"hubHref":"/vendor/cobbler_project/cobbler"},{"vendor":"ubuntu","product":"cobbler","name":"cobbler","label":"cobbler","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cobbler","purlType":"deb","versions":[{"text":"< 2.4.1-0ubuntu2+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.1-0ubuntu2+esm1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35 | 36","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensuse","product":"backports","name":"backports","label":"backports","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"sle-15:sp3","noFixRecorded":false,"fixedIn":null},{"text":"sle-15:sp4","noFixRecorded":false,"fixedIn":null}],"versionsText":"sle-15:sp3 | sle-15:sp4","eol":null,"hubHref":"/vendor/opensuse/backports"},{"vendor":"opensuse","product":"factory","name":"factory","label":"factory","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/opensuse/factory"},{"vendor":"PyPI","product":"cobbler","name":"cobbler","label":"cobbler","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/cobbler","purlType":"pypi","versions":[{"text":"< 3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"cobbler&distro=openSUSE Tumbleweed","name":"cobbler","label":"cobbler&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/cobbler&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 3.3.1.0+git.f5b0599a-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1.0+git.f5b0599a-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"linux_enterprise_server","name":"linux enterprise server","label":"linux_enterprise_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11:sp3","noFixRecorded":false,"fixedIn":null},{"text":"12","noFixRecorded":false,"fixedIn":null},{"text":"15:sp2","noFixRecorded":false,"fixedIn":null},{"text":"15:sp3","noFixRecorded":false,"fixedIn":null}],"versionsText":"11:sp3 | 12 | 15:sp2 | 15:sp3","eol":null,"hubHref":"/vendor/suse/linux_enterprise_server"}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/cobbler/cobbler/releases","label":"github.com/cobbler/cobbler/releases","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1193678","label":"bugzilla.suse.com/show_bug.cgi?id=1193678","hostname":"bugzilla.suse.com","tags":["X Refsource MISC","WEB","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45082","label":"nvd.nist.gov/vuln/detail/CVE-2021-45082","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/cobbler/cobbler/pull/2945","label":"github.com/cobbler/cobbler/pull/2945","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/cobbler/cobbler","label":"github.com/cobbler/cobbler","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/cobbler/cobbler/releases/tag/v3.3.1","label":"github.com/cobbler/cobbler/releases/tag/v3.3.1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2022-37.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2022-37.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEJN7CPW6YCHBFQPFZKGA6AVA6T5NPIW","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z5CSXQE7Q4TVDQJKFYBO4XDH3BZ7BLAR","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCXMOUW4DH4DYWIJN44SMSU6R3CZDZBE","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-6cm4-gm85-972c","label":"github.com/advisories/GHSA-6cm4-gm85-972c","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-45082","label":"ubuntu.com/security/CVE-2021-45082","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6475-1","label":"ubuntu.com/security/notices/USN-6475-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45082","label":"www.cve.org/CVERecord?id=CVE-2021-45082","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-45082","label":"www.suse.com/security/cve/CVE-2021-45082","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2022:0509-1","SUSE-SU-2022:0510-1","USN-6475-1"],"duplicates":[],"related":["SUSE-SU-2022:0509-1","SUSE-SU-2022:0510-1","USN-6475-1"]},"timeline":[{"kind":"published","date":"2022-02-18T23:23:30.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T04:32:13.626Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:53:50.089Z","stale":false,"partial":false}}