msg373698 - (view) |
Author: Jimmy Girardet (jgirardet) |
Date: 2020-07-15 14:41 |
Hi, With python embed unziped in `38` directory(python 3.8.4): ``` # python38._pth python38.zip . ..\\app # Uncomment to run site.main() automatically #import site ``` ``` PS C:\Users\jimmy\rien\embed> .\38\python.exe -c "import sys;print(sys.path);import hello" ['', 'C:\\Users\\jimmy\\rien\\embed\\38\\python38.zip', 'C:\\Users\\jimmy\\rien\\embed\\38\\DLLs', 'C:\\Users\\jimmy\\ri en\\embed\\38\\lib', 'C:\\Users\\jimmy\\rien\\embed\\38'] Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'hello' '\\app' is not added to sys.path. it is under python 3. ``` Note It's working under python 3.7.8 |
|
|
msg373701 - (view) |
Author: Jimmy Girardet (jgirardet) |
Date: 2020-07-15 15:32 |
replacing python38._pth by python._pth does fix it. |
|
|
msg373706 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-07-15 18:07 |
Thanks, this is a regression. https://github.com/python/cpython/blob/master/PC/getpathp.c#L672 should be inverted, as a zero return value indicates success. |
|
|
msg373727 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-07-15 21:56 |
New changeset 936a66094591dc0e67d4a60c170148bb700ec016 by Steve Dower in branch 'master': bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) https://github.com/python/cpython/commit/936a66094591dc0e67d4a60c170148bb700ec016 |
|
|
msg373728 - (view) |
Author: miss-islington (miss-islington) |
Date: 2020-07-15 22:14 |
New changeset 28e93dd2b26c460424acbebd00d8b943abbbea17 by Miss Islington (bot) in branch '3.9': bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) https://github.com/python/cpython/commit/28e93dd2b26c460424acbebd00d8b943abbbea17 |
|
|
msg373729 - (view) |
Author: miss-islington (miss-islington) |
Date: 2020-07-15 22:15 |
New changeset 3b6a8d2455c6897085f4277737b0f9b9a3847c24 by Miss Islington (bot) in branch '3.8': bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) https://github.com/python/cpython/commit/3b6a8d2455c6897085f4277737b0f9b9a3847c24 |
|
|
msg373731 - (view) |
Author: Ned Deily (ned.deily) *  |
Date: 2020-07-15 22:24 |
New changeset 4bfcffe16e9742c154f54ae96b5b36903500abaa by Steve Dower in branch '3.7': bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) (#21499) https://github.com/python/cpython/commit/4bfcffe16e9742c154f54ae96b5b36903500abaa |
|
|
msg373756 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-07-16 17:08 |
For clarity, this was caused by the fix for , and was only released in 3.8.4 and 3.9.0b4. No other versions had a release before the fix was merged. |
|
|
msg373836 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-07-17 16:29 |
This is now assigned CVE-2020-15801 |
|
|
msg373837 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-07-17 16:54 |
New changeset a16ac4e43c8ed15bf2fca52df3a0a5de26ad2705 by Miss Islington (bot) in branch '3.9': bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521) https://github.com/python/cpython/commit/a16ac4e43c8ed15bf2fca52df3a0a5de26ad2705 |
|
|
msg373838 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-07-17 16:54 |
New changeset 79ed1a53fa44a1b74e3c24c9d5f698abd9610921 by Miss Islington (bot) in branch '3.8': bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521) https://github.com/python/cpython/commit/79ed1a53fa44a1b74e3c24c9d5f698abd9610921 |
|
|
msg373891 - (view) |
Author: Ned Deily (ned.deily) *  |
Date: 2020-07-18 09:01 |
New changeset eb0d255ffe002412bb937e1bde61225e5431da5e by Miss Islington (bot) in branch '3.7': bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521) (GH-21524) https://github.com/python/cpython/commit/eb0d255ffe002412bb937e1bde61225e5431da5e |
|
|
msg374912 - (view) |
Author: huangtaizhuo (owen.huang) |
Date: 2020-08-06 02:40 |
hi, since the affected system is not clearly stated on the NVD, I'd like to confirm with you that: Does the CVE-2020-15801 vulnerability affect only the Windows OS? thanks a lot! |
|
|
msg374942 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2020-08-06 16:10 |
Yes, it only affects Windows OS. On all other platforms, the python38._pth file is _always_ ignored. We have not implemented this support for those platforms. |
|
|