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

[vulnerability][acl] acl.Object[S_PROTOTYPE][S_INSTANCE] is not applied for {}.hasOwnProperty #342

Closed
t2ym opened this issue Mar 3, 2020 · 0 comments

Comments

@t2ym
Copy link
Owner

t2ym commented Mar 3, 2020

[vulnerability][acl] acl.Object[S_PROTOTYPE][S_INSTANCE] is not applied for {}.hasOwnProperty

Root Cause

  • acl[S_DEFAULT] is not chained to acl.Object[S_PROTOTYPE][S_INSTANCE]

Reproducible Code

{}.hasOwnProperty; // read the function object

Fix

  • Chain acl[S_DEFAULT][S_PROTOTYPE][S_INSTANCE] to acl.Object[S_PROTOTYPE][S_INSTANCE]
t2ym added a commit that referenced this issue Mar 3, 2020
…][S_PROTOTYPE][S_INSTANCE] to acl.Object[S_PROTOTYPE][S_INSTANCE]
@t2ym t2ym closed this as completed in 5283f7d Mar 3, 2020
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

No branches or pull requests

1 participant