CPP: Add query for CWE-377 Insecure Temporary File#6947
Merged
Conversation
MathiasVP
reviewed
Oct 26, 2021
Contributor
|
It looks like our CI is failing with a couple of errors:
Sounds like there's a hidden non-ASCII character around line 94.
|
Contributor
Author
|
Good afternoon. |
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
Contributor
Author
|
Good afternoon @MathiasVP. Please tell me what the error is during the assembly. (I fixed the previous error) |
Contributor
|
It's still complaining about a non-ASCII character: |
Contributor
Author
please run the checks again. |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our request is looking for situations of unsafe work with files. use validation functions in the first place without guaranteeing that the file will not be created later. in the second case, he looks for places to work with the file, when his name is predictable and there are no restrictions on access rights.
CVE-2012-0786
CVE-2018-6198
CVE-2007-5936
links to real work results, I will add later. I am currently working on them with developers.