CVE-2021-40348
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config...
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
- Record
CVE-2021-40348- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List No score
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
- Record
CVE-2021-40348- Updated
- 2026-11-02
EUVDEUVD-2021-27526 No score
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
- Record
EUVD-2021-27526- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h847-jmmj-x7rc
8.8
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config...
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
- Record
GHSA-h847-jmmj-x7rc- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
8.8
Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.
- Record
CVE-2021-40348- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-RU-2021:3551-1 No score
Recommended update for SUSE Manager 4.2.3 Release Notes
This update for SUSE Manager 4.2.3 Release Notes provides the following additions:
Release notes for SUSE Manager:
- Update to 4.2.3
- aarch64 support for CentOS 7/8, Oracle Linux 7/8, Rocky Linux 8, AlmaLinux 8, Amazon Linux 2 and openSUSE Leap 15.3
- Package Locking features is now available for Salt Minions
- New XMLRPC API methods for SaltKey
- Bugs mentioned: bsc#1171520, bsc#1181223, bsc#1187572, bsc#1187998, bsc#1188315, bsc#1188977, bsc#1189260, bsc#1189422, bsc#1189609, bsc#1189799, bsc#1189818, bsc#1189933, bsc#1190040, bsc#1190123, bsc#1190151, bsc#1190164, bsc#1190166, bsc#1190265, bsc#1190275, bsc#1190276, bsc#1190300, bsc#1190396, bsc#1190405, bsc#1190455, bsc#1190512, bsc#1190602, bsc#1190751, bsc#1190820, bsc#1191123, bsc#1191139, bsc#1191348, bsc#1191551, CVE-2021-40348, CVE-2021-21996
Release notes for SUSE Manager proxy:
- Update to 4.2.3
- Bugs mentioned: bsc#1171520, bsc#1181223, bsc#1187998, bsc#1188315, bsc#1188977, bsc#1190405, bsc#1190512, bsc#1190602, bsc#1190751, bsc#1190820, bsc#1191348
- Record
SUSE-RU-2021:3551-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3561-1 No score
Security update for SUSE Manager Server 4.2
This update fixes the following issues:
cobbler:
- Fixed modify_setting test to complete successfully
hub-xmlrpc-api:
- Use rpm systemd macro to restart service in replace of systemctl
patterns-suse-manager:
- Virtualization-host-formula was renamed to virtualization-formulas
py26-compat-salt:
- Exclude the full path of a download URL to prevent injection of malicious code (bsc#1190265, CVE-2021-21996)
py26-compat-tornado:
- Added compatibility to Enterprise Linux 8
py27-compat-salt:
- Fix the regression of docker_container state module
- Support querying for JSON data in external sql pillar
- Exclude the full path of a download URL to prevent injection of malicious code (bsc#1190265, CVE-2021-21996)
- Fix wrong relative paths resolution with Jinja renderer when importing subdirectories
spacecmd:
- Version 4.2.13-1
- Update translation strings
- configchannel_updatefile handles directory properly (bsc#1190512)
- Add schedule_archivecompleted to mass archive actions (bsc#1181223)
- Remove whoami from the list of unauthenticated commands (bsc#1188977)
spacewalk-admin:
- Version 4.2.9-1
- Fix setup with rhn-config-satellite (bsc#1190300)
- Allow admins to modify only spacewalk config files with rhn-config-satellite.pl (bsc#1190040) (CVE-2021-40348)
spacewalk-backend:
- Version 4.2.17-1
- Update translations strings
- handle download of metadata filesnames with checksums (bsc#1188315)
- Sanitize cached filename for custom SSL certs used by reposync (bsc#1190751)
spacewalk-certs-tools:
- Version 4.2.13-1
- add GPG keys using apt-key on debian machines (bsc#1187998)
spacewalk-client-tools:
- Version 4.2.14-1
- Update translation strings
spacewalk-java:
- Version 4.2.30-1
- Fix datetime format parsing with moment (bsc#1191348)
- Version 4.2.29-1
- Update translation strings
- fix logging of the spark framework and map requests to media.1 directory in the download controller (bsc#1189933)
- Add 'Last build date' column to CLM project list (jsc#PM-2644) (jsc#SUMA-61)
- Improve exception handling and logging for mgr-libmod calls
- Add checksums to repository metadata filenames (bsc#1188315)
- Fix ISE in product migration if base product is missing (bsc#1190151)
- use TLSv1.3 if it is a supported Protocol
- Adapt auto errata update to respect maintenance windows
- Adapt auto errata update to skip during CLM build (bsc#1189609)
- add CentOS 7/8 aarch64
- add Oracle Linux 7/8 aarch64
- add Rocky Linux 8 aarch64
- add AlmaLinux 8 aarch64
- add Amazon Linux 2 aarch64
- Add new endpoints to saltkeys API: acceptedList, pendingList, rejectedList, deniedList, accept and reject
- fix ISE in SSM when scheduling patches on multiple systems (bsc#1190396, bsc#1190275)
- Add 'Flush cache' option to Ansible playbook execution (bsc#1190405)
- Update kernel live patch version on minion startup (bsc#1190276)
- Allow getting all completed actions via XMLRPC without display limit (bsc#1181223)
- Support syncing patches with advisory status 'pending' (bsc#1190455)
- Add XMLRPC API to force refreshing pillar data (bsc#1190123)
- Add missing string on XCCDF scan results (bsc#1190164)
- Ignore duplicates in 'pkg.installed' result when applying patches (bsc#1187572)
- Improved timezone support
- implement package locking for salt minions
spacewalk-utils:
- Version 4.2.14-1
- When renaming: don't regenerate CA, allow using third-party certificate and trigger pillar refresh (bsc#1190123)
spacewalk-web:
- Version 4.2.23-1
- Fix datetime format parsing with moment (bsc#1191348)
- Version 4.2.22-1
- Add 'Last build date' column to CLM project list (jsc#PM-2644) (jsc#SUMA-61)
- Fix 'Type' input in CLM source edit form (bsc#1190820)
- Add 'Flush cache' checkbox to Ansible playbook execution page (bsc#1190405)
- Fix the VM creation and editing submit button action (bsc#1190602)
- Improved timezone support
- Enhance the…
- Record
SUSE-SU-2021:3561-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3562-1 No score
Security update for SUSE Manager Server 4.1
This update fixes the following issues:
spacewalk-admin:
- Version 4.1.10-1
- Fix setup with rhn-config-satellite (bsc#1190300)
- Allow admins to modify only spacewalk config files with rhn-config-satellite.pl (bsc#1190040) (CVE-2021-40348)
How to apply this update:
- Log in as root user to the SUSE Manager server.
- Stop the Spacewalk service:
spacewalk-service stop - Apply the patch using either zypper patch or YaST Online Update.
- Start the Spacewalk service:
spacewalk-service start
- Record
SUSE-SU-2021:3562-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
release-notes-susemanager-proxySUSE:Manager Proxy 4.2 From an advisory covering 2 CVEs |
before 4.2.3-3.15.1 | 4.2.3-3.15.1 |
release-notes-susemanager-proxySUSE:Manager Retail Branch Server 4.2 From an advisory covering 2 CVEs |
before 4.2.3-3.15.1 | 4.2.3-3.15.1 |
release-notes-susemanagerSUSE:Manager Server 4.2 From an advisory covering 2 CVEs |
before 4.2.3-3.19.1 | 4.2.3-3.19.1 |
cobblerSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 3.1.2-5.11.1 | 3.1.2-5.11.1 |
hub-xmlrpc-apiSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 0.7-3.3.3 | 0.7-3.3.3 |
inter-server-syncSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 0.0.5-8.6.3 | 0.0.5-8.6.3 |
patterns-suse-managerSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2-4.3.1 | 4.2-4.3.1 |
py26-compat-saltSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 2016.11.10-11.28.9.1 | 2016.11.10-11.28.9.1 |
py26-compat-tornadoSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.1-3.3.1 | 4.2.1-3.3.1 |
py27-compat-saltSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 3000.3-7.7.11.1 | 3000.3-7.7.11.1 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
spacecmdSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.13-4.9.1 | 4.2.13-4.9.1 |
spacewalk-adminSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.9-3.6.2 | 4.2.9-3.6.2 |
spacewalk-backendSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.17-4.9.3 | 4.2.17-4.9.3 |
spacewalk-certs-toolsSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.13-3.9.2 | 4.2.13-3.9.2 |
spacewalk-client-toolsSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.14-4.9.3 | 4.2.14-4.9.3 |
spacewalk-javaSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.30-3.14.4 | 4.2.30-3.14.4 |
spacewalk-utilsSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.14-3.9.3 | 4.2.14-3.9.3 |
spacewalk-webSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.23-3.9.3 | 4.2.23-3.9.3 |
subscription-matcherSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 0.27-6.3.1 | 0.27-6.3.1 |
supportutils-plugin-susemanagerSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.3-3.3.2 | 4.2.3-3.3.2 |
susemanagerSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.25-3.13.1 | 4.2.25-3.13.1 |
susemanager-doc-indexesSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2-12.11.3 | 4.2-12.11.3 |
susemanager-docs_enSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2-12.11.1 | 4.2-12.11.1 |
susemanager-schemaSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.18-3.9.3 | 4.2.18-3.9.3 |
susemanager-slsSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.18-3.11.1 | 4.2.18-3.11.1 |
susemanager-sync-dataSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 4.2.9-3.9.1 | 4.2.9-3.9.1 |
virtualization-formulasSUSE:Manager Server Module 4.2 From an advisory covering 2 CVEs |
before 0.6.1-8.3.1 | 0.6.1-8.3.1 |
spacewalk-adminSUSE:Manager Server Module 4.1 |
before 4.1.10-3.15.1 | 4.1.10-3.15.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-40348 is a high vulnerability (CVSS 8.8) in Spacewalk Project Spacewalk, published October 27, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.80%, the 78th percentile. Fixed in spacewalk-admin 4.1.10-3.15.1.
References
openwall.com/lists/oss-security/2021/10/28/4
github.com/uyuni-project/uyuni/commit/790c7388efac6923c5475e01c1ff718dffa9f052
nvd.nist.gov/vuln/detail/CVE-2021-40348
github.com/advisories/GHSA-h847-jmmj-x7rc
suse.com/support/update/announcement/-2021-3551/suse-ru-20213551-1
bugzilla.suse.com/1171520
Show 36 moreShow less
bugzilla.suse.com/1181223
bugzilla.suse.com/1187572
bugzilla.suse.com/1187998
bugzilla.suse.com/1188315
bugzilla.suse.com/1188977
bugzilla.suse.com/1189260
bugzilla.suse.com/1189422
bugzilla.suse.com/1189609
bugzilla.suse.com/1189799
bugzilla.suse.com/1189818
bugzilla.suse.com/1189933
bugzilla.suse.com/1190040
bugzilla.suse.com/1190123
bugzilla.suse.com/1190151
bugzilla.suse.com/1190164
bugzilla.suse.com/1190166
bugzilla.suse.com/1190265
bugzilla.suse.com/1190275
bugzilla.suse.com/1190276
bugzilla.suse.com/1190300
bugzilla.suse.com/1190396
bugzilla.suse.com/1190405
bugzilla.suse.com/1190455
bugzilla.suse.com/1190512
bugzilla.suse.com/1190602
bugzilla.suse.com/1190751
bugzilla.suse.com/1190820
bugzilla.suse.com/1191123
bugzilla.suse.com/1191139
bugzilla.suse.com/1191348
bugzilla.suse.com/1191551
suse.com/security/cve/CVE-2021-21996
suse.com/security/cve/CVE-2021-40348
suse.com/support/update/announcement/2021/suse-su-20213561-1
bugzilla.suse.com/1191898
suse.com/support/update/announcement/2021/suse-su-20213562-1
Left out here: the rest of 1 source description. The JSON record has them.