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

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-01T04:32:06.000Z
- Modified: 2026-06-17T04:06:46.470Z
- Weaknesses: CWE-94
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- uyuni-project uyuni: 2021.08
- spacewalk_project spacewalk: 2.10

## Every score

- NVD: 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`
- NVD: CVSS:2.0 9.3 High `AV:N/AC:M/Au:N/C:C/I:C/A:C`

## References

- <http://www.openwall.com/lists/oss-security/2021/10/28/4> (exploit, mailing-list, patch, third-party-advisory)
- <https://github.com/uyuni-project/uyuni/commit/790c7388efac6923c5475e01c1ff718dffa9f052> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-40348](https://www.cve.org/CVERecord?id=CVE-2021-40348), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-40348](https://nvd.nist.gov/vuln/detail/CVE-2021-40348), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40348 · Whole record: https://cve.day/CVE-2021-40348.json · Rebuilt by cve.day 2026-11-25T22:58:05.281Z
