Database/Kernel, userspace & hypervisor
libuser: direct /etc/passwd rewrites can corrupt the account database and chain to local root
Impact
libuser, as used by the setuid userhelper program in the usermode package, edits /etc/passwd in place. A local user who forces an error partway through the modification leaves the file in an inconsistent state, which on a shared login or head node can lock accounts - including operator accounts - out of the machine until the file is repaired by hand. On its own the record only claims denial of service, but it explicitly notes the issue can be combined with CVE-2015-3245 to gain privileges, and CISA lists it as exploited. Affected packages are RHEL 5/6/7-era and openSUSE 13.2; current images are not affected, but old base images and long-uptime login nodes are where these packages persist.
Who can reach it
Local user able to invoke userhelper - that is, anyone with an account on the host who can run chfn or chsh from the usermode package. Not remotely reachable.
What to do
Update libuser to 0.56.13-8 or 0.60-7 (or later) together with the usermode package, per RHSA-2015-1482 and RHSA-2015-1483. This is a package update only: no daemon restart and no reboot, since userhelper runs per invocation. If /etc/passwd has already been left inconsistent, repair it with pwck and restore from the shadow backup files before re-enabling logins.
References
Related entries
- Linux KVM/SVM - missing sev_decommission in sev_receive_start: KVM failed to DECOMMISSION the current SEV contextCVE-2021-47389 · Linux KVM/SVM - missing sev_decommission in sev_receive_startMedium
- QEMU VMDK driver: a crafted image causes an out-of-bounds read leaking 12 bytes or crashing the processCVE-2026-2243 · QEMU VMDK block driver (out-of-bounds read while parsing the image)Medium
- Linux kernel (drivers/iommu/amd): AMD-Vi updated the domain's I/O page-table mode before running the code that freesCVE-2022-48904 · Linux kernel (drivers/iommu/amd)Medium
- Linux kernel (drivers/iommu/amd): Unbinding a PASID races the I/O page-fault (PPR) notifications still in flightCVE-2023-53501 · Linux kernel (drivers/iommu/amd)Medium
- Linux kernel (drivers/iommu/iommufd): The vfio type1 info structure is not zeroed before being filled and copied outCVE-2023-54034 · Linux kernel (drivers/iommu/iommufd)Medium
- Linux kernel (drivers/vfio): Uninitialized kernel stack bytes sitting in a structure hole are copied out to userspaceCVE-2023-54137 · Linux kernel (drivers/vfio)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.