Skip to content

Commit

Permalink
Report incorrect group information in users
Browse files Browse the repository at this point in the history
  • Loading branch information
danth authored Jan 15, 2025
1 parent 63a2f39 commit 34fc344
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions crates/users/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "users"
date = "2025-01-15"
url = "https://github.com/ogham/rust-users/issues/44"
categories = ["privilege-escalation"]

[versions]
patched = []
unaffected = ["<= 0.7.0"]
```

# `root` appended to supplementary groups

Affected versions append the `root` group to the supplementary groups of a user, regardless of their actual membership.
This occurs unless the user is a member of exactly 1024 supplementary groups.

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.

0 comments on commit 34fc344

Please sign in to comment.