When we scan the app through Veracode to check for any static code vulnerabilities, it gives the "Insecure Temporary File".
Following is detail and also provides remedies on how to fix this.

This error points to BitmapUtils.kt Line 461 at:
|
val file = File.createTempFile( |
Which is main reason of this issue reported by Veracode static screen.
I am not using this library directly into any native app, but using it into .NET Maui app via one of the Binding Library which originally uses this native Android library.
I have reported similar issue there too: jmbowman1107/ImageCropper.Maui#28 but even after updating to 4.6.0 didn't resolve it.
Would you please have a look and fix this please, so we can update to latest .aar and build our .NET Maui supported binary?
Thanks,
Milan G
When we scan the app through Veracode to check for any static code vulnerabilities, it gives the "Insecure Temporary File".
Following is detail and also provides remedies on how to fix this.
This error points to BitmapUtils.kt Line 461 at:
Android-Image-Cropper/cropper/src/main/kotlin/com/canhub/cropper/BitmapUtils.kt
Line 461 in 05b4d58
Which is main reason of this issue reported by Veracode static screen.
I am not using this library directly into any native app, but using it into .NET Maui app via one of the Binding Library which originally uses this native Android library.
I have reported similar issue there too: jmbowman1107/ImageCropper.Maui#28 but even after updating to 4.6.0 didn't resolve it.
Would you please have a look and fix this please, so we can update to latest .aar and build our .NET Maui supported binary?
Thanks,
Milan G