openSUSE 15 Security Update : pyenv (openSUSE-SU-2022:10183-1)

high Nessus Plugin ID 166753

Language:

Synopsis

The remote SUSE host is missing a security update.

Description

The remote SUSE Linux SUSE15 host has packages installed that are affected by a vulnerability as referenced in the openSUSE-SU-2022:10183-1 advisory.

- pyenv 1.2.24 through 2.3.2 allows local users to gain privileges via a .python-version file in the current working directory. An attacker can craft a Python version string in .python-version to execute shims under their control. (Shims are executables that pass a command along to a specific version of pyenv. The version string is used to construct the path to the command, and there is no validation of whether the version specified is a valid version. Thus, relative path traversal can occur.) (CVE-2022-35861)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected pyenv, pyenv-bash-completion, pyenv-fish-completion and / or pyenv-zsh-completion packages.

See Also

https://bugzilla.suse.com/1201582

http://www.nessus.org/u?bb011f72

https://www.suse.com/security/cve/CVE-2022-35861

Plugin Details

Severity: High

ID: 166753

File Name: openSUSE-2022-10183-1.nasl

Version: 1.2

Type: local

Agent: unix

Published: 11/1/2022

Updated: 11/1/2022

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-35861

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:opensuse:pyenv-fish-completion, p-cpe:/a:novell:opensuse:pyenv-bash-completion, p-cpe:/a:novell:opensuse:pyenv, cpe:/o:novell:opensuse:15.4, p-cpe:/a:novell:opensuse:pyenv-zsh-completion

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/31/2022

Vulnerability Publication Date: 7/17/2022

Reference Information

CVE: CVE-2022-35861