CVE-2021-40348: Code Injection

Published Nov 1, 2021
·
Updated

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.

Affected Software

2 affected components
Uyuni-project Uyuni=2021.08
Spacewalk Project Spacewalk=2.10

Event History

Nov 1, 2021
CVE Published
via MITRE·04:32 AM
Data Sourced
via MITRE·04:32 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-40348.

2

What is the severity of CVE-2021-40348?

The severity of CVE-2021-40348 is critical (8.8).

3

Which software versions are affected by CVE-2021-40348?

Spacewalk 2.10 and Uyuni 2021.08 are affected by CVE-2021-40348.

4

How does CVE-2021-40348 allow code injection?

CVE-2021-40348 allows code injection through the un-sanitized configuration filename used by rhn-config-satellite.pl script.

5

Is there a fix available for CVE-2021-40348?

Yes, a fix is available. Please refer to the provided references for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203