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

Appearance settings

fix:chown socket file to belong to nobody#54

Open
zar3bski wants to merge 3 commits into
apache:masterapache/apisix-python-plugin-runner:masterfrom
zar3bski:fix_issue_53zar3bski/apisix-python-plugin-runner:fix_issue_53Copy head branch name to clipboard
Open

fix:chown socket file to belong to nobody#54
zar3bski wants to merge 3 commits into
apache:masterapache/apisix-python-plugin-runner:masterfrom
zar3bski:fix_issue_53zar3bski/apisix-python-plugin-runner:fix_issue_53Copy head branch name to clipboard

Conversation

@zar3bski
Copy link
Copy Markdown

In order to solve this bug, the socket created by apisix/runner/server/server.py now belongs to nobody so apisix runners could write on it.

I choose not to follow go plugin's chmod approach here, for it is to permissive / dangerous and could lead to privilege escalation

Comment thread apisix/runner/server/server.py Outdated
@zar3bski
Copy link
Copy Markdown
Author

zar3bski commented Nov 2, 2022

@spacewander , @shuaijinchao , could you review this MR please?

@zar3bski
Copy link
Copy Markdown
Author

@spacewander @shuaijinchao Plz give me a approval :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.