Description
It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | rpm | 4.13.0.2, 4.14.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rpm | No fix yet | — |
| Debian 13 | rpm | No fix yet | — |
| Debian 12 | rpm | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | rpm | No fix yet | — |
| Ubuntu Pro 14.04 LTS | rpm | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | rpm +1 | 4.14.1-10.3.1 | SUSE-SU-2018:2073-1 |
| SLES 12 SP4 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
| SLES 12 SP3 | rpm +2 | 4.11.2-16.16.1 | SUSE-SU-2018:3884-1, SUSE-SU-2018:3286-1 |
| SLES 12 SP2 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
| SLES 12 SP1 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
| SLES for SAP 12 SP4 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
| SLES for SAP 12 SP3 | rpm +2 | 4.11.2-16.16.1 | SUSE-SU-2018:3884-1, SUSE-SU-2018:3286-1 |
| SLES for SAP 12 SP2 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
| SLES for SAP 12 SP1 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-2 |
| SUSE OpenStack Cloud 7 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
| SUSE Enterprise Storage 4 | rpm +2 | 4.11.2-16.21.1 | SUSE-SU-2018:3884-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rpm | 4.16.1.3-3.2 | openSUSE-SU-2024:11305-1 |
Advisories 6
- openSUSE-SU-2024:11305-1 librpmbuild9-4.16.1.3-3.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3884-1 Security update for rpm SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3884-2 Security update for rpm SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3286-1 Security update for rpm SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2073-1 Security update for rpm SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0877 RPM: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Apr 11, 2024