# openSUSE-SU-2019:2121-1: Security update for util-linux and shadow

> Local attackers can exploit PATH handling flaws in su and shadow utilities to escalate privileges on openSUSE systems.

- **Severity:** Not scored
- **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:** Yes
- **Published:** 10 Sep 2019

## What is openSUSE-SU-2019:2121-1?

openSUSE-SU-2019:2121-1 is a vulnerability in python3-libmount, published on 10 Sep 2019. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

This update for util-linux and shadow fixes the following issues:

util-linux:

- Fixed an issue where PATH settings in /etc/default/su being ignored (bsc#1121197)
- Prevent outdated pam files (bsc#1082293).
- De-duplicate fstrim -A properly (bsc#1127701).
- Do not trim read-only volumes (bsc#1106214).
- Integrate pam_keyinit pam module to login (bsc#1081947).
- Perform one-time reset of /etc/default/su (bsc#1121197).
- Fix problems in reading of login.defs values (bsc#1121197)
- libmount: To prevent incorrect behavior, recognize more pseudofs and netfs (bsc#1122417).
- raw.service: Add RemainAfterExit=yes (bsc#1135534).
- agetty: Return previous response of agetty for special characters (bsc#1085196, bsc#1125886)
- libmount: print a blacklist hint for 'unknown filesystem type' (jsc#SUSE-4085, fate#326832)
- Fix /etc/default/su comments and create /etc/default/runuser (bsc#1121197).

shadow:

- Fixed an issue where PATH settings in /etc/default/su being ignored (bsc#1121197)
- Fix segfault in useradd during setting password inactivity period. (bsc#1141113)
- Hardening for su wrappers (bsc#353876)

This update was imported from the SUSE:SLE-15-SP1:Update update project.

## Which versions are affected by openSUSE-SU-2019:2121-1?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `python3-libmount` | openSUSE:Leap 15.1 | All versions | 2.33.1-lp151.3.3.2 |
| `shadow` | openSUSE:Leap 15.1 | All versions | 4.6-lp151.2.3.2 |
| `util-linux` | openSUSE:Leap 15.1 | All versions | 2.33.1-lp151.3.3.2 |
| `util-linux-systemd` | openSUSE:Leap 15.1 | All versions | 2.33.1-lp151.3.3.2 |

## How do I fix openSUSE-SU-2019:2121-1?

Apply the vendor's patch.

## Is openSUSE-SU-2019:2121-1 being exploited?

There is no known exploitation of openSUSE-SU-2019:2121-1 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for openSUSE-SU-2019:2121-1 and fix it if it is affected.

What it is: openSUSE-SU-2019:2121-1 is a vulnerability in python3-libmount, published on 10 Sep 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of openSUSE-SU-2019:2121-1 in the wild and no public exploit code.

Affected product: python3-libmount. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/openSUSE-SU-2019-2121-1/ (Markdown: https://insights.sbomify.com/openSUSE-SU-2019-2121-1/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/openSUSE-SU-2019:2121-1

---
From sbomify Insights: https://insights.sbomify.com/openSUSE-SU-2019-2121-1/
Summaries are generated and may contain mistakes; the official description above is the record.
