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: getInterfaceOf doesn't fully validate, but passStyleOf believes it #2435

Closed
erights opened this issue Feb 16, 2021 · 0 comments · Fixed by #2460
Closed

Vulnerability: getInterfaceOf doesn't fully validate, but passStyleOf believes it #2435

erights opened this issue Feb 16, 2021 · 0 comments · Fixed by #2460
Assignees
Labels
bug Something isn't working security

Comments

@erights
Copy link
Member

erights commented Feb 16, 2021

I introduced a vulnerability in #2361 . I knew getInterfaceOf did not do a full validation. But I reasoned that this is ok because anyone needing a full validation should call passStyleOf. I forgot that passStyleOf calls getInterfaceOf and short circuits if it returns something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working security
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant