Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.6] bpo-42988: Remove the pydoc getfile feature (GH-25015) #25067

Merged
merged 1 commit into from Mar 29, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 29, 2021

CVE-2021-3426: Remove the "getfile" feature of the pydoc module which
could be abused to read arbitrary files on the disk (directory
traversal vulnerability). Moreover, even source code of Python
modules can contain sensitive data like passwords. Vulnerability
reported by David Schwörer.
(cherry picked from commit 9b99947)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue42988

CVE-2021-3426: Remove the "getfile" feature of the pydoc module which
could be abused to read arbitrary files on the disk (directory
traversal vulnerability). Moreover, even source code of Python
modules can contain sensitive data like passwords. Vulnerability
reported by David Schwörer.
(cherry picked from commit 9b99947)

Co-authored-by: Victor Stinner <vstinner@python.org>
Copy link
Member

@vstinner vstinner left a comment

LGTM, good bot.

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented Mar 29, 2021

@vstinner: Status check is done, and it's a failure .

@ned-deily ned-deily merged commit 5b1e502 into python:3.6 Mar 29, 2021
4 of 5 checks passed
@miss-islington miss-islington deleted the backport-9b99947-3.6 branch Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants