Vulnerability Name:

CVE-2021-45082 (CCN-219984)

Assigned:2021-12-16
Published:2022-02-18
Updated:2022-04-08
Summary: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.)
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.0 Medium (CCN CVSS v2 Vector: AV:L/AC:H/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-77
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-45082

Source: MISC
Type: Exploit, Issue Tracking, Patch, Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1193678

Source: XF
Type: UNKNOWN
cobbler-cve202145082-code-exec(219984)

Source: CCN
Type: Cobbler GIT Repository
Security: Fix incomplete template sanitization

Source: MISC
Type: Release Notes, Third Party Advisory
https://github.com/cobbler/cobbler/releases

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-0649006be6

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-0c6402a6a3

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-f1510aa454

Source: CCN
Type: oss-sec Mailing List, Fri, 18 Feb 2022 13:26:29 +0100
Multiple vulnerabilities affecting cobbler

Vulnerable Configuration:Configuration 1:
  • cpe:/a:cobbler_project:cobbler:*:*:*:*:*:*:*:* (Version < 3.3.1)

  • Configuration 2:
  • cpe:/a:opensuse:factory:-:*:*:*:*:*:*:*
  • OR cpe:/o:opensuse:backports:sle-15:sp3:*:*:*:*:*:*
  • OR cpe:/o:opensuse:backports:sle-15:sp4:*:*:*:*:*:*
  • OR cpe:/o:opensuse:suse_linux_enterprise_server:11.0:sp3:*:*:*:*:*:*
  • OR cpe:/o:suse:linux_enterprise_server:12:-:*:*:*:*:*:*
  • OR cpe:/o:suse:linux_enterprise_server:15:sp2:*:*:*:*:*:*
  • OR cpe:/o:suse:linux_enterprise_server:15:sp3:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:cobbler_project:cobbler:3.3.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:100081
    P
    (Important)
    2022-02-18
    oval:org.opensuse.security:def:100419
    P
    (Important)
    2022-02-18
    oval:org.opensuse.security:def:100753
    P
    (Important)
    2022-02-18
    oval:org.opensuse.security:def:102175
    P
    Security update for cobbler (Important)
    2022-02-18
    BACK
    cobbler_project cobbler *
    opensuse factory -
    opensuse backports sle-15 sp3
    opensuse backports sle-15 sp4
    suse linux enterprise server 11 sp3
    suse linux enterprise server 12 -
    suse linux enterprise server 15 sp2
    suse linux enterprise server 15 sp3
    fedoraproject fedora 34
    fedoraproject fedora 35
    fedoraproject fedora 36
    cobbler_project cobbler 3.3.0