C++: Query metadata (precision is provisional, might up it to 'high' later).

This commit is contained in:
Geoffrey White
2022-04-13 13:20:53 +01:00
parent be0df1662c
commit b149666f45

View File

@@ -1,17 +1,17 @@
/**
* @name External Entity Expansion
* @description TODO
* @description Parsing user-controlled XML documents and allowing expansion of
* external entity references may lead to disclosure of
* confidential data or denial of service.
* @kind path-problem
* @id cpp/external-entity-expansion
* @problem.severity warning
* @security-severity TODO
* @precision TODO
* @security-severity 9.1
* @precision medium
* @tags security
* external/cwe/cwe-611
*/
// TODO: currently the file name is Xerces-specific but the query ID isn't.
// Decide which design to go with.
import cpp
import semmle.code.cpp.ir.dataflow.DataFlow
import DataFlow::PathGraph