Root escalation via racy RPM post-install script
Published Oct 16, 2024 · Updated Aug 26, 2025
Local privilege escalation in SUSE Tomcat packages allows local users to gain root access during package installation or reinstallation. The RPM %post script changes permissions on /usr/share/tomcat/tomcat-webapps while that path is writable by the tomcat account, allowing a raced replacement to be processed with root privileges. Exploitation requires local low-privilege access as the tomcat user and precise timing during a privileged package transaction; success grants full root control.
Summary
What happened
Local privilege escalation in SUSE Tomcat packages allows local users to gain root access during package installation or reinstallation. The RPM %post script changes permissions on /usr/share/tomcat/tomcat-webapps while that path is writable by the tomcat account, allowing a raced replacement to be processed with root privileges. Exploitation requires local low-privilege access as the tomcat user and precise timing during a privileged package transaction; success grants full root control.
The record
- CVE
- CVE-2024-22029
- Published
- Oct 16, 2024
- Updated
- Aug 26, 2025
- Vendor
- NeuVector
- Product
- SUSE Linux Enterprise High Performance Computing
- Classifications
- CWE-269, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 26, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=? <9.0.85-150200.57.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo