CVE-2022-35861

pyenv 1.2.24 through 2.3.2 allows local users to gain privileges via a .python-version file in the current working directory

published July 17, 2022

CVSS
—
EPSS
0%
Percentile
20.2
In the wild
Unconfirmed
What it is

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.)

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00288 · 20.2th percentile
Published
2022-07-17T16:31Z
EPSS history
Timeline
  • 17 JUL 16:31Z
    pyenv 1.2.24 through 2.3.2 allows local users to gain privileges via a .python-version file in the current working directory
    cvelistv5