Improper Check for Dropped Privileges Affecting virt-devel:rhel/python3-libnbd package, versions <0:1.2.2-1.module+el8.3.0+7353+9de0a3cc


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-RHEL8-VIRTDEVEL-4195070
  • published26 Jan 2022
  • disclosed25 Jan 2022

Introduced: 25 Jan 2022

CVE-2022-0358  (opens in a new tab)
CWE-273  (opens in a new tab)

How to fix?

Upgrade RHEL:8 virt-devel:rhel/python3-libnbd to version 0:1.2.2-1.module+el8.3.0+7353+9de0a3cc or higher.
This issue was patched in RHSA-2022:0759.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt-devel:rhel/python3-libnbd package and not the virt-devel:rhel/python3-libnbd package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-13405. A local guest user can create files in the directories shared by virtio-fs with unintended group ownership in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of the group. This could allow a malicious unprivileged user inside the guest to gain access to resources accessible to the root group, potentially escalating their privileges within the guest. A malicious local user in the host might also leverage this unexpected executable file created by the guest to escalate their privileges on the host system.

CVSS Scores

version 3.1