{"schemaVersion":3,"id":"CVE-2018-1000117","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-03-07T14:00:00.000Z","modified":"2024-09-17T01:37:10.621Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0104,"percentile":0.6345,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.04299999999999998,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01083},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0104,"percentile":0.6345}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01083,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0104,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0104,"percentile":0.6345}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"python","product":"python","name":"python","label":"python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.2.0, < 3.4.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.6.0, < 3.6.5","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"3.7.0:beta5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.2.0, < 3.4.9 | ≥ 3.5.0, < 3.5.6 | ≥ 3.6.0, < 3.6.5 | 3.7.0:beta1 | 3.7.0:beta2 | 3.7.0:beta3 | 3.7.0:beta4 | 3.7.0:beta5","eol":{"isEol":true,"eolDate":"2023-06-27T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"3.7","label":"3.7","eolFrom":"2023-06-27T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"3.7.17"},"product":{"name":"python","label":"Python","category":"lang"}},"hubHref":"/vendor/python/python"}],"affectedCount":1,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/python/cpython/pull/5989","label":"github.com/python/cpython/pull/5989","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://bugs.python.org/issue33001","label":"bugs.python.org/issue33001","hostname":"bugs.python.org","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-03-07T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T01:37:10.621Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:13:36.180Z","stale":false,"partial":false}}