C++: Update metadata based on cwe-scores

Though the codeql/cwe-scores update-queries.py script did not make any changes on its own,
I looked up the score of the CWEs that @geoffw0 suggested using the explain.py script.

As discussed elsewhere, this should be more of a warning than a recommendation.
This commit is contained in:
Nora Dimitrijević
2022-08-31 15:50:37 +02:00
parent ce1e4ad422
commit 0729e42536

View File

@@ -3,11 +3,11 @@
* @description Failing to check that a call to 'scanf' actually writes to an
* output variable can lead to unexpected behavior at reading time.
* @kind problem
* @problem.severity recommendation
* @security-severity 4.5
* @problem.severity warning
* @security-severity 7.5
* @precision medium
* @id cpp/missing-check-scanf
* @tags security
* @tags security cwe-252 cwe-253
*/
import cpp