9.3

CVE-2021-40348: spacewalk_project spacewalk Code Injection

CVSS: 9.3v2.0HighModified
AliasesSUSE-SU-2021:3562-1
Published 01-11-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-40348 is a high (CVSS 9.3) Code Injection vulnerability in spacewalk_project spacewalk. EPSS estimates a 1.80% chance of exploitation in the next 30 days, higher than 78.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.3/10
010
High · v2.0 (NVD)
EPSS score
1.80%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 01-11-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.80%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

0.00 pp

From 1.80% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.80%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Spacewalk_project1 product
Suse1 product
  • spacewalk-admin&distro=SUSE Manager Server Module 4.1< 4.1.10-3.15.1
Uyuni-project1 product

3 vendors · 3 products

References

6 links