theAIGuysCode / Object-Detection-API

Yolov3 Object Detection implemented as APIs, using TensorFlow and Flask
Apache License 2.0
339 stars 179 forks source link

Fix security vulnerabilities #35

Open Qone2 opened 2 years ago

Qone2 commented 2 years ago

if someone send non-image file (ex: app.py, detect.py, virus something etc), there are two problem first, if there is file that has same name, it wolud be overwritten so that the project file will be changed. second, the server will raise error, so that file sent will be remain undeleted, if that file is malware it wolud be serious.