-
Notifications
You must be signed in to change notification settings - Fork 256
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
BigInteger protection can be bypassed. #455
Comments
The exact machinery of why this works is icky, but it boils down to ...not being enough to actually kill the submission if the loading thread has a different exception handler. In hindsight this is obvious. Throwing inside the transformer doesn't work either, since it'll be caught and the classfile will still be loaded. The solution is to exit immediately, though this requires the |
Xyene
added a commit
that referenced
this issue
Oct 27, 2019
Xyene
added a commit
to DMOJ/java-sandbox-agent
that referenced
this issue
Oct 27, 2019
Xyene
added a commit
to DMOJ/java-sandbox-agent
that referenced
this issue
Oct 27, 2019
Xyene
added a commit
that referenced
this issue
Oct 27, 2019
Xyene
added a commit
that referenced
this issue
Oct 27, 2019
Xyene
added a commit
to DMOJ/java-sandbox-agent
that referenced
this issue
Oct 27, 2019
Xyene
added a commit
to DMOJ/java-sandbox-agent
that referenced
this issue
Oct 27, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using Java's built in ScriptEngine, it is possible to create instances of the BigInteger class when BigInteger should be disallowed.
See this submission
The text was updated successfully, but these errors were encountered: