Advisory

RUSTSEC-2025-0040

Also known as: CVE-2025-5791, GHSA-m65q-v92h-cm7q

Summary

root appended to group listings

Details

Affected versions append root to group listings, unless the correct listing
has exactly 1024 groups.

This affects both:

  • The supplementary groups of a user
  • The group access list of the current process

If the caller uses this information for access control, this may lead to
privilege escalation.

This crate is not currently maintained, so a patched version is not available.

Versions older than 0.8.0 do not contain the affected functions, so downgrading
to them is a workaround.

Recommended alternatives

Severity

Not rated by the source.

Dates

Published
2025-01-15 12:00 UTC
Modified
2025-10-28 06:28 UTC

Affected packages and fixes

users

crates.io · All systems

Affected

  • introduced 0.8.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences