-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Set VIPS_BLOCK_UNTRUSTED
by default
#57
Comments
That's a good suggestion. Will be integrated. |
I have noticed that this causes, among other things, that image-driver-vips/src/Driver.php Lines 128 to 137 in 90c8cc2
|
From memory, it's tagged as untrusted because we've not been fuzzing it and support is not included in the You're right, we should expose libvips 8.16 has a new way to draw shapes with signed distance fields: https://www.libvips.org/2024/10/10/What's-new-in-8.16.html They are must faster and need less memory than SVG, though they won't work with your |
Depends on #61 |
Many libvips binaries ship with a range of poorly tested loaders, and these are all enabled by default.
If you are dealing with untrusted data (as most intervention users probably will be), it's best to disable these by default. An easy way to do this is to set the
VIPS_BLOCK_UNTRUSTED
env var on startup, and give users some way to reenable specific wonky loaders if they have to.https://www.libvips.org/API/current/VipsOperation.html#vips-operation-block-set
The text was updated successfully, but these errors were encountered: