| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
ImageMath.eval("(lambda: exit())()") |
Sorry, something went wrong.
|
I've created #6009 to address the comment from @charmander |
Sorry, something went wrong.
|
@charmander Thanks for the note. In the future, when it comes to security-related issues, please could you check and follow the security policy of the project? If there's none available, it's good practice to ask how to disclose. The Pillow one is here: https://github.com/python-pillow/Pillow/security/policy Thanks again. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
To limit ImageMath to working with images, Pillow will now restrict the builtins available to ImageMath.eval(). This will help prevent problems arising if users evaluate arbitrary expressions, such as ImageMath.eval("exec(exit())").