CVE-2018-1000117 Memory corruption in n/a

Medium 6.7 Published Updated

A buffer overflow in CPython's os.symlink on Windows allows arbitrary code execution and privilege escalation via crafted scripts.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-1000117?

CVE-2018-1000117 is a medium-severity memory corruption vulnerability in Python Python, published on 7 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Python Software Foundation CPython version From 3.2 until 3.6.4 on Windows contains a Buffer Overflow vulnerability in os.symlink() function on Windows that can result in Arbitrary code execution, likely escalation of privilege. This attack appears to be exploitable via a python script that creates a symlink with an attacker controlled name or location. This vulnerability appears to have been fixed in 3.7.0 and 3.6.5.

Weakness: CWE-120

Which versions are affected by CVE-2018-1000117?

It affects 1 product.

Products include Python Python.

How do I fix CVE-2018-1000117?

No fix has been published for CVE-2018-1000117 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-1000117 being exploited?

There is no known exploitation of CVE-2018-1000117 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Python Python vulnerabilities

Sources

Also known as GHSA-9wwx-vjm7-9x2m, PSF-2022-2.

Is CVE-2018-1000117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free