Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Nov 6, 2020

Netty requires the setContextClassLoader permission. However, many of
our policy files incorrectly use * as the name, thinking
setContextClassLoader is the actions element of the permission (it
looks like a copy paste error that was then itself copy pasted through
several policy files). This commit corrects these permissions, which had
actually granted all RuntimePermissions.

Netty requires the setContextClassLoader permission. However, many of
our policy files incorrectly use `*` as the name, thinking
`setContextClassLoader` is the actions element of the permission (it
looks like a copy paste error that was then itself copy pasted through
several policy files). This commit corrects these permissions, which had
actually granted all RuntimePermissions.
@rjernst rjernst added >non-issue :Security/Security Security issues without another label v8.0.0 v7.11.0 labels Nov 6, 2020
@rjernst rjernst requested a review from jaymode November 6, 2020 21:47
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (:Security/Security)

@elasticmachine elasticmachine added the Team:Security Meta label for security team label Nov 6, 2020
Copy link
Member

@jaymode jaymode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjernst
Copy link
Member Author

rjernst commented Nov 6, 2020

@elasticmachine run elasticsearch-ci/1

@rjernst rjernst merged commit 9b07042 into elastic:master Nov 7, 2020
@rjernst rjernst deleted the plugin_permission_list4 branch November 7, 2020 19:43
rjernst added a commit that referenced this pull request Nov 7, 2020
Netty requires the setContextClassLoader permission. However, many of
our policy files incorrectly use `*` as the name, thinking
`setContextClassLoader` is the actions element of the permission (it
looks like a copy paste error that was then itself copy pasted through
several policy files). This commit corrects these permissions, which had
actually granted all RuntimePermissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Security/Security Security issues without another label Team:Security Meta label for security team v7.11.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants