Advisory

GHSA-m65q-v92h-cm7q

Also known as: CVE-2025-5791, RUSTSEC-2025-0040

Summary

users may append root 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

High Basis: The source's own band: HIGH

Dates

Published
2025-06-05 01:17 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

users

crates.io · All systems

Affected

  • introduced 0.8.0, last affected 0.11.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences