Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-40348: Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection

55
This month
HIGH 8.8DOWNGRADEDOWNGRADE

CVE-2021-40348 is a high-severity flaw (CVSS 8.8) affecting uyuni, spacewalk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • Public exploit reference

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance1.8% (top 22%)
CISA exploited listNo
WeaknessCWE-94
Published2021-11-01
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: spacewalk project · uyuni-project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

uyuni-project uyuni DOWNGRADE
Affected: 2021.08
Fixed in: no fixed release known
Safe to downgrade to: a release before 2021.08
1. Check installed version
apt-cache policy uyuni || rpm -q uyuni || uyuni --version
2. No fixed release: DOWNGRADE to a release before 2021.08 (Debian / Ubuntu)
apt-cache madison uyuni sudo apt install uyuni=<VERSION_BEFORE_2021.08> sudo apt-mark hold uyuni
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list uyuni sudo dnf downgrade uyuni-<VERSION_BEFORE_2021.08> sudo dnf versionlock add uyuni
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
spacewalk project spacewalk DOWNGRADE
Affected: 2.10
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.10
1. Check installed version
apt-cache policy spacewalk || rpm -q spacewalk || spacewalk --version
2. No fixed release: DOWNGRADE to a release before 2.10 (Debian / Ubuntu)
apt-cache madison spacewalk sudo apt install spacewalk=<VERSION_BEFORE_2.10> sudo apt-mark hold spacewalk
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list spacewalk sudo dnf downgrade spacewalk-<VERSION_BEFORE_2.10> sudo dnf versionlock add spacewalk
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-40348?

uyuni: downgrade or apply the listed mitigation; spacewalk: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2021-40348 being exploited?

CVE-2021-40348 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-40348 affect?

CVE-2021-40348 affects uyuni, spacewalk. Severity is high (CVSS 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 tomc

How urgent is CVE-2021-40348?

Priority 55/100. High severity; Public exploit reference

Software pages

Apache Tomcat vulnerabilities · Sudo vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.