CVE-2020-36770

pkg_postinst in the Gentoo ebuild for Slurm through 22.05.3 unnecessarily calls chown to assign root's ownership on files in the live root filesystem

High · published January 15, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
30.0
In the wild
Unconfirmed
What it is

⚡ A single command in the Slurm ebuild could let a slurm user play house with root-owned files! 🏠 Think of it like a janitor who finds a magical key that allows them to rearrange the furniture in the boss's office without permission — suddenly, they control the room! An attacker with slurm user access could change file ownership to gain control over critical system files, potentially compromising the entire system's security. This could lead to unauthorized access or modifications that could snowball into a major security breach, putting sensitive data at risk!

Put simply

Think of it like a janitor who finds a magical key that allows them to rearrange the furniture in the boss's office without permission — suddenly, they control the room! CVE-2020-36770 involves the unnecessary use of the 'chown' command in the Gentoo ebuild for Slurm, allowing the slurm user to change ownership of files that should be restricted to root, thus elevating their privileges.

What to do

An attacker with slurm user access could change file ownership to gain control over critical system files, potentially compromising the entire system's security. This could lead to unauthorized access or modifications that could snowball into a major security breach, putting sensitive data at risk! To protect your system, update to Slurm version 22.05.4 or later, where this vulnerability is resolved. Additionally, review user permissions for the slurm service and ensure proper restrictions are in place to minimize risk. You've got this! Strengthen your defenses and patch up to keep your system safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00373 · 30.0th percentile
Published
2024-01-15T00:00Z
EPSS history
Timeline
  • 15 JAN 00:00Z
    pkg_postinst in the Gentoo ebuild for Slurm through 22.05.3 unnecessarily calls chown to assign root's ownership on files in the live root filesystem
    cvelistv5