Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

users crate is unmaintained #50

Open
asomers opened this issue Mar 10, 2024 · 0 comments · May be fixed by #51
Open

users crate is unmaintained #50

asomers opened this issue Mar 10, 2024 · 0 comments · May be fixed by #51

Comments

@asomers
Copy link

asomers commented Mar 10, 2024

cargo-audit reports that the users crate is unmaintained. Also, it suffers from an unaligned read bug. I suggest switching to Nix instead, which I think has all of the required functionality. Nix also dealt with the same unaligned read, IIRC, and fixed it.

Crate:     users
Version:   0.11.0
Warning:   unmaintained
Title:     `users` crate is unmaintained
Date:      2023-06-01
ID:        RUSTSEC-2023-0040
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0040
Dependency tree:
users 0.11.0
└── rctl 0.2.1-alpha.0

Crate:     users
Version:   0.11.0
Warning:   unsound
Title:     Unaligned read of `*const *const c_char` pointer
Date:      2023-09-10
ID:        RUSTSEC-2023-0059
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0059

warning: 2 allowed warnings found
asomers added a commit to asomers/rctl that referenced this issue Mar 10, 2024
Use Nix's "user" feature instead, since we're already using Nix.

Fixes fubarnetes#50
@asomers asomers linked a pull request Mar 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant