-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Use of potentially dangerous functions #2785
Comments
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
There is also a use of SHA1 in the crash reporter: https://github.com/getsentry/sentry-cocoa/blob/main/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_System.m#L424 |
👋🏼 Hi! I'm facing the same issue as the OP. I'm wondering if this has any priority. Thanks! |
@wkoutre, which warning do you get for which functions? We already fixed the most important functions. Fixing the rest in our backlog, but I can't give you an ETA. |
@philipphofmann Thanks for the quick reply! The warnings are for:
Another member of my team will follow up on this thread shortly with more details. |
I update @wkoutre comment with the reported files: Use of memcpy function Use of malloc function Use of SHA1 Let me know if you need more information. |
@juan-utility and @wkoutre. We fix the occurrences in |
Regarding SHA1. Its just a problem when used for security reason, which we dont used it for. |
Thanks for the update here! We really appreciate it 🎉 |
Description
A customer reported that their security vulnerability tool reported our repository has the following security issue: CWE-676, which stands for the use of potentially dangerous functions.
For all tasks, we should check if we should do this quickly. If replacing is a bit complicated, needs refactoring to make things testable, we should reconsider the priority.
Clarified fixes for dangerous functions:
The following usage functions need clarification:
malloc
?The text was updated successfully, but these errors were encountered: