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

pydoc expands os.environ dictionary -> security issue #185

Open
osynge opened this issue Mar 27, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@osynge
Copy link

commented Mar 27, 2019

We had a function that pydoc documented:

def cfg_get_env(env=os.environ):

Except 'pydoc' did not document 'env=os.environ' but expanded the content of 'os.environ' which is a security issue.

kernc added a commit to pdoc3/pdoc that referenced this issue Apr 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.