Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.9] gh-97514: Don't use Linux abstract sockets for multiprocessing (GH-98501)#98504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 1 commit intopython:3.9frommiss-islington:backport-49f6106-3.9
Oct 28, 2022

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedOct 20, 2022
edited by bedevere-bot
Loading

Linux abstract sockets are insecure as they lack any form of filesystem
permissions so their use allows anyone on the system to inject code into
the process.

This removes the default preference for abstract sockets in
multiprocessing introduced in Python 3.9+ via
#18866 while fixing
#84031.

Explicit use of an abstract socket by a user now generates a
RuntimeWarning. If we choose to keep this warning, it should be
backported to the 3.7 and 3.8 branches.
(cherry picked from commit49f6106)

Co-authored-by: Gregory P. Smithgreg@krypto.org

…ythonGH-98501)Linux abstract sockets are insecure as they lack any form of filesystempermissions so their use allows anyone on the system to inject code intothe process.This removes the default preference for abstract sockets inmultiprocessing introduced in Python 3.9+ viapython#18866 while fixingpython#84031.Explicit use of an abstract socket by a user now generates aRuntimeWarning.  If we choose to keep this warning, it should bebackported to the 3.7 and 3.8 branches.(cherry picked from commit49f6106)Co-authored-by: Gregory P. Smith <greg@krypto.org>
@miss-islington
Copy link
ContributorAuthor

Sorry, I can't merge this PR. Reason:You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@miss-islington
Copy link
ContributorAuthor

Sorry, I can't merge this PR. Reason:You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

1 similar comment
@miss-islington
Copy link
ContributorAuthor

Sorry, I can't merge this PR. Reason:You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@gpsheadgpshead added the 3.9 (EOL)end of life labelOct 20, 2022
@miss-islington
Copy link
ContributorAuthor

Sorry, I can't merge this PR. Reason:You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpsheadgpsheadgpshead approved these changes

Assignees

@ambvambv

Labels

3.9 (EOL)end of liferelease-blockertype-securityA security issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@gpshead@ambv@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp