Skip to content
OpenAdvisories
Critical openSUSE-SU-2021:0058-1 6 CVEs

Security update for cobbler

Published Jan 14, 2021 · Updated Feb 4, 2026

Summary

This update for cobbler fixes the following issues:

- Add cobbler-tests subpackage for unit testing for openSUSE/SLE
- Adds LoadModule definitions for openSUSE/SLE
- Switch to new refactored auth module.

- use systemctl to restart cobblerd on logfile rotation (boo#1169207)
Mainline logrotate conf file uses already /sbin/service instead of
outdated: /etc/init.d/cobblerd
- Fix cobbler sync for DHCP or DNS (boo#1169553)
Fixed mainline by commit 2d6cfe42da
- Signatures file now uses 'default_autoinstall' which fixes import
problem happening with some distributions (boo#1159010)

- Fix for kernel and initrd detection (boo#1159010)

- New:
* For the distro there is now a parameter remote_boot_initrd and remote_boot_kernel ()
* For the profile there is now a parameter filename for DHCP. (#2280)
* Signatures for ESXi 6 and 7 (#2308)
* The hardlink command is now detected more dynamically and thus more error resistant (#2297)
* HTTPBoot will now work in some cases out of the bug. (#2295)
* Additional DNS query for a case where the wrong record was queried in the nsupdate system case (#2285)
- Changes:
* Enabled a lot of tests, removed some and implemented new. (#2202)
* Removed not used files from the codebase. (#2302)
* Exchanged mkisofs to xorrisofs. (#2296)
* Removed duplicate code. (#2224)
* Removed unreachable code. (#2223)
* Snippet creation and deletion now works again via xmlrpc. (#2244)
* Replace createrepo with createrepo_c. (#2266)
* Enable Kerberos through having a case sensitive users.conf. (#2272)
- Bugfixes:
* General various Bugfixes (#2331, )
* Makefile usage and commands. (#2344, #2304)
* Fix the dhcp template. (#2314)
* Creation of the management classes and gPXE. (#2310)
* Fix the scm_track module. (#2275, #2279)
* Fix passing the netdevice parameter correctly to the linuxrc. (#2263)
* powerstatus from cobbler now works thanks to a wrapper for ipmitool. (#2267)
* In case the LDAP is used for auth, it now works with ADs. (#2274)
* Fix passthru authentication. (#2271)
- Other:
* Add Codecov. (#2229)
* Documentation updates. (#2333, #2326, #2305, #2249, #2268)
* Buildprocess:
* Recreation and cleanup of Grub2. (#2278)
* Fix small errors for openSUSE Leap. (#2233)
* Fix rpmlint errors. (#2237)
* Maximum compatibility for debbuild package creation. (#2255, #2292, #2242, #2300)
* Fixes related to our CI Pipeline (#2254, #2269)
* Internal Code cleanup (#2273, #2270)
- Breaking Changes:
* Hash handling in users.digest file. (#2299)

- Updated to version 3.1.1.
* Introduce new packaging from upstream
* Changelog see below
- New:
* We are now having a cross-distro specfile which can be build in the OBS
(#2220) - before rewritten it was improved by #2144 & #2174
* Grub Submenu for net-booting machines (#2217)
* Building the Cent-OS RPMs in Docker (#2190 #2189)
* Reintroduced manpage build in setup.py (#2185)
* mgmt_parameters are now passed to the dhcp template (#2182)
* Using the standard Pyhton3 logger instead of a custom one (#2160 #2139 #2151)
* Script for converting the settings file from 3.0.0 to 3.0.1 (#2154)
* Docs now inside the repo instead of cobbler.github.io and improved with sphinx (#2117)
- Changes:
* The default tftpboot directory is now /var/lib/tftpboot instead of previously /srv/tftpboot (#2220)
* Distro signatures were adjusted where necessary (#2219 #2134)
* Removed requirements.txt and placed the requirements in setup.py (#2204)
* Display only entries in grub which are from the same arch (#2191 #2216)
* Change the name of the cobbler manpage form cobbler-cli to cobbler back and move it to section 8 (#2188 #2186)
- Bugfixes:
* Incremented Version to 3.1.1 from 3.0.1
* S390 Support was cleaned up (#2207 #2178)
* PowerPC Support was cleaned up (#2178)
* Added a missing import while importing a distro with cobbler import (#2201)
* Fixed a case where a stacktrace would be produced so pass none instead (#2203)
* Rename of suse_kopts_textmode_overwrite to kops_overwrite to utils (#2143 #2200)
* Fix rsync subprocess call (#2199 #2179)
* Fixed an error where the template rendering did not work (#2176)
* Fixed some cobbler import errors (#2172)
* Wrong shebang in various scripts (#2148)
* Fix some imports which fixes errors introduced by the remodularization (#2150 #2153)
- Other:
* Issue Templates for Github (#2187)

- Update to latest git HEAD code base
This version (from mainline so for quite a while already)
also includes fixes for 'boo#1149075' and boo#1151875

- Fix for cobbler import and buildiso (boo#1156574)
- Adjusted manpage creation (needs sphinx as BuildRequires)
- Fix cobbler sync for dhcp and dns enabled due to latest module
renaming patches

- Update to latest git HEAD
- Fixes permission denied in apache2 context when trying to write
cobbler log
- Fixes a bad import in import_signature (item)
- Fixes bad shebang bash path in mkgrub.sh (used in post section)

- Now track Github master branch
WARNING: This release contains breaking changes for your settings file!
* Notable changes:
- Now using standard python logger
- Updated dhcpd.template
- Removed fix_shebang.patch: now in upstream.
- added -s parameter to fdupes call to prevent hardlink across
partititons

- Update to latest v3.0.0 cobbler release
- Add previouly added patch: exclude_get-loaders_command.patch to
the list of patches to apply.

- Fix log file world readable (as suggested by Matthias Gerstner)
and change file attributes via attr in spec file
- Do not allow get-loaders command (download of third party
provided network boot loaders we do not trust)
- Mainline fixes:
3172d1df9b9cc8 Add missing help text in redhat_management_key field
c8f5490e507a72 Set default interface if cobbler system add has no
--interface= param
31a1aa31d26c4a Remove apache IfVersion tags from apache configs

- I

Fixed packages 1

ReleasePackageFixed in
SUSE · Package Hub 15 SP2 cobbler 3.1.2-bp152.4.3.1

Vulnerabilities 6

  • Critical 9.8

    Cobbler vulnerable to arbitrary code execution

    Cobbler version up to 2.8.2 is vulnerable to a command injection vulnerability in the "add repo" component resulting in arbitrary code execution as root user.

  • Critical 9.8
    CVE-2018-1000226 Scanner template EPSS 13%

    Cobbler Improper Validation of Security Tokens

    Cobbler version Verified as present in Cobbler versions 2.6.11+, but code inspection suggests at least 2.0.0+ or possibly even older versions may be vulnerable contains a Incorrect Access Control vulnerability in XMLRPC API (/cobbler_api) that can result in P…

  • Critical 9.8
    CVE-2018-10931 EPSS 68%

    Cobbler has Exposed Dangerous Method or Function

    It was found that cobbler 2.6.x exposed all functions from its CobblerXMLRPCInterface class over XMLRPC. A remote, unauthenticated attacker could use this flaw to gain high privileges within cobbler, upload files to arbitrary location in the context of the da…

  • Medium 6.1

    Cobbler XSS Vulnerability

    Cobbler version Verified as present in Cobbler versions 2.6.11+, but code inspection suggests at least 2.0.0+ or possibly even older versions may be vulnerable contains a Cross Site Scripting (XSS) vulnerability in cobbler-web that can result in Privilege esc…

  • Medium —

    Cobbler vulnerable to code injection via unsafe YAML loading

    The set_mgmt_parameters function in item.py in cobbler before 2.2.2 allows context-dependent attackers to execute arbitrary code via vectors related to the use of the yaml.load function instead of the yaml.safe_load function, as demonstrated using Puppet.

  • High —

    Cobbler subject to Command Injection

    Incomplete blacklist vulnerability in action_power.py in Cobbler 2.2.0 allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) username or (2) password fields to the power_system method in the xmlrpc API.

References

  • report
    https://bugzilla.suse.com/1020376
  • report
    https://bugzilla.suse.com/1029276
  • report
    https://bugzilla.suse.com/1048183
  • report
    https://bugzilla.suse.com/1074594
  • report
    https://bugzilla.suse.com/1075014
  • report
    https://bugzilla.suse.com/1081714
  • report
    https://bugzilla.suse.com/1081739
  • report
    https://bugzilla.suse.com/1090205
  • report
    https://bugzilla.suse.com/1097733
  • report
    https://bugzilla.suse.com/1101670
  • report
    https://bugzilla.suse.com/1104189
  • report
    https://bugzilla.suse.com/1104190
  • report
    https://bugzilla.suse.com/1104287
  • report
    https://bugzilla.suse.com/1105440
  • report
    https://bugzilla.suse.com/1105442
  • report
    https://bugzilla.suse.com/1113747
  • report
    https://bugzilla.suse.com/1128754
  • report
    https://bugzilla.suse.com/1128926
  • report
    https://bugzilla.suse.com/1130658
  • report
    https://bugzilla.suse.com/1134588
  • report
    https://bugzilla.suse.com/1149075
  • report
    https://bugzilla.suse.com/1151875
  • report
    https://bugzilla.suse.com/1156574
  • report
    https://bugzilla.suse.com/1159010
  • report
    https://bugzilla.suse.com/1169207
  • report
    https://bugzilla.suse.com/1169553
  • report
    https://bugzilla.suse.com/1169779
  • report
    https://bugzilla.suse.com/1170462
  • report
    https://bugzilla.suse.com/660126
  • report
    https://bugzilla.suse.com/671212
  • report
    https://bugzilla.suse.com/672471
  • report
    https://bugzilla.suse.com/682665
  • report
    https://bugzilla.suse.com/687891
  • report
    https://bugzilla.suse.com/695955
  • report
    https://bugzilla.suse.com/714618
  • report
    https://bugzilla.suse.com/722443
  • report
    https://bugzilla.suse.com/722445
  • report
    https://bugzilla.suse.com/757062
  • report
    https://bugzilla.suse.com/763610