CVE-2022-35861
Last modified
CVE-2022-35861 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pyenv | Pyenv | >= 1.2.24, <= 2.3.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-35861?
How severe is CVE-2022-35861?
How do I fix CVE-2022-35861?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-35850An improper neutralization of script-related HTML tags in a …6.1
- CVE-2022-35851An improper neutralization of input during web page generati…5.4
- CVE-2022-35857kvf-admin through 2022-02-12 allows remote attackers to exec…9.8
- CVE-2022-35858The TEE_PopulateTransientObject and __utee_from_attr functio…7.8
- CVE-2022-3586A flaw was found in the Linux kernel’s networking code. A us…5.5
- CVE-2022-35860Missing AES encryption in Corsair K63 Wireless 3.1.3 allows …6.8
- CVE-2022-35864This vulnerability allows remote attackers to disclose sensi…6.5
- CVE-2022-35865This vulnerability allows remote attackers to execute arbitr…9.8
- CVE-2022-35866This vulnerability allows remote attackers to bypass authent…9.8
- CVE-2022-35867This vulnerability allows local attackers to escalate privil…6.7
- CVE-2022-35868A vulnerability has been identified in TIA Multiuser Server …6.7
- CVE-2022-35869This vulnerability allows remote attackers to bypass authent…9.8
Are you affected by CVE-2022-35861?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
