card-io / card.io-Android-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
1.99k stars 535 forks source link

Library binary is built with “elf” without stack protection #181

Open chaitusy09 opened 7 years ago

chaitusy09 commented 7 years ago

General information

Issue description

chaitusy09 commented 7 years ago

library binary is built with “elf” without stack protection. The vulnerable binary files are below in detailed steps. Stack canaries can greatly increase the difficulty of exploiting a stack buffer overflow because it forces the attacker to gain control of the instruction pointer by some non-traditional means such as corrupting other important variables on the stack. Risk Description Lack of stack Protection motivate adversary for exploiting a stack buffer overflow Detailed Steps lib\arm64-v8a\libopencv_core.so lib\arm64-v8a\libopencv_imgproc.so lib\armeabi-v7a\libopencv_core.so lib\armeabi-v7a\libopencv_imgproc.so lib\x86\libcardioDecider.so lib\x86\libcardioRecognizer.so lib\x86\libcardioRecognizer_tegra2.so lib\x86\libopencv_core.so lib\x86\libopencv_imgproc.so lib\x86_64\libcardioDecider.so lib\x86_64\libcardioRecognizer.so lib\x86_64\libcardioRecognizer_tegra2.so lib\x86_64\libopencv_core.so

can you give solution for this.

lkorth commented 7 years ago

Please supply the version of card.io and what source/tool you are getting this message from.

dhiwakarmani commented 7 years ago

Just Curious, if you use gradle compile will you be getting the same Issue? Thanks