CVE-2024-22037 Database password leaked by systemd uyuni-server-attestation service

Medium 5.7 Published Updated

Local attackers can read the database password from the systemd environment of the uyuni-server-attestation service, compromising database security.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-22037?

CVE-2024-22037 is a medium-severity vulnerability in SUSE Manager Server 5.0, published on 28 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The uyuni-server-attestation systemd service needs a database_password environment variable. This file has 640 permission, and cannot be shown users, but the environment is still exposed by systemd to non-privileged users.

Weakness: CWE-497

Which versions are affected by CVE-2024-22037?

Linux distribution packages (16)
scap-security-guide SUSE:EL-9:Update:Products:ManagerTools:UpdateAll versions0.1.75-1.32.1
spacecmd SUSE:EL-9:Update:Products:ManagerTools:UpdateAll versions5.0.11-1.44.1
uyuni-tools SUSE:EL-9:Update:Products:ManagerTools:UpdateAll versions0.1.28-1.14.1
salt SUSE:Linux Micro 6.0All versions3006.0-9.1
scap-security-guide SUSE:Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSAll versions0.1.75-1.32.1
scap-security-guide SUSE:Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSAll versions0.1.75-1.32.1
spacecmd SUSE:Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSAll versions5.0.11-1.44.1
spacecmd SUSE:Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSAll versions5.0.11-1.44.1
uyuni-tools SUSE:Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSAll versions0.1.28-1.14.1
uyuni-tools SUSE:Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSAll versions0.1.28-1.14.1
uyuni-storage-setup SUSE:Manager Proxy 5.0All versions5.0.3-150500.12.6.4
uyuni-tools SUSE:Manager Proxy 5.0All versions0.1.26-150500.3.12.2
uyuni-storage-setup SUSE:Manager Retail Branch Server Extension 5.0All versions5.0.3-150500.12.6.4
uyuni-tools SUSE:Manager Retail Branch Server Extension 5.0All versions0.1.26-150500.3.12.2
uyuni-storage-setup SUSE:Manager Server 5.0All versions5.0.3-150500.12.6.4
uyuni-tools SUSE:Manager Server 5.0All versions0.1.26-150500.3.12.2

How do I fix CVE-2024-22037?

Apply the vendor's patch.

Is CVE-2024-22037 being exploited?

There is no known exploitation of CVE-2024-22037 in the wild and no public exploit code.

Sources

Also known as GHSA-4mrg-r3f5-vhvf, SUSE-EL-9-CLIENT-TOOLS-2025-532, SUSE-RU-2024:4008-1, SUSE-SU-2025:0532-1, SUSE-SU-2025:20124-1.

Is CVE-2024-22037 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free