Improper Privilege Management Affecting amdsmi package, versions [,6.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-PYTHON-AMDSMI-8145544
  • published 2 Oct 2024
  • disclosed 1 Oct 2024
  • credit Unknown

Introduced: 1 Oct 2024

CVE NOT AVAILABLE CWE-269 Open this link in a new tab

How to fix?

Upgrade amdsmi to version 6.1.2 or higher.

Overview

amdsmi is an AMDSMI Python LIB - AMD GPU Monitoring Library

Affected versions of this package are vulnerable to Improper Privilege Management via the amdsmi_set_gpu_process_isolation and amdsmi_set_gpu_clear_sram_data due to improper handling of root-required operations for process isolation and SRAM data clearing. Attackers could exploit misconfigured permissions to gain unauthorized access or manipulate GPU processes.

Note:

This vulnerability is specific to systems where these features are enabled without adequate security measures.

Workaround

This vulnerability can be mitigated by ensuring proper configuration of permissions and restricting root access to trusted users only.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
7.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None