Incorrect Privilege Assignment Affecting rust-ssh-key-dir package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.21% (11th 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 IDSNYK-CENTOS10-RUSTSSHKEYDIR-10323791
  • published7 Jun 2025
  • disclosed15 Jan 2025

Introduced: 15 Jan 2025

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

How to fix?

There is no fixed version for Centos:10 rust-ssh-key-dir.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-ssh-key-dir package and not the rust-ssh-key-dir package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

A flaw was found in the user's crate for Rust. This vulnerability allows privilege escalation via incorrect group listing when a user or process has fewer than exactly 1024 groups, leading to the erroneous inclusion of the root group in the access list.

CVSS Base Scores

version 3.1