Incorrect Privilege Assignment Affecting users package, versions >=0.8.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-USERS-10381541
  • published19 Jun 2025
  • disclosed5 Jun 2025
  • creditLuca Fulchir

Introduced: 5 Jun 2025

NewCVE-2025-5791  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

There is no fixed version for users.

Overview

Affected versions of this package are vulnerable to Incorrect Privilege Assignment via the supplementary groups of a user or the group access list of the current process. An attacker can escalate privileges by exploiting incorrect group listings unless the correct listing has exactly 1024 groups.

Note:

'users' crate is unmaintained, there is an actively maintained fork of it 'uzers' which contains the fix starting from version 0.11.1.

CVSS Base Scores

version 4.0
version 3.1