Open myteron opened 5 months ago
@SecurityCRob I wonder what the best handling is. I could start striking through the CWE's we have processed but it overall appears to me that an "issue" is to small for what we are trying to do here. It seems that a project is the next level up to an issues but never used that.
Not sure how well a milestone would work for this.
There are around 40 rules on an internal confluence that have approval by Opensource group to be published. Some of the text and code requires refactoring and this work can only be done by Ericsson employees.
Once all docs are made available in GitHub we have:
Plain text : Nothing on GitHub [Link Only]() : Code on GitHub
[Link Only](): Code and Docs on GitHubFull List: CWE-78, Improper Neutralization of Special Elements Used in an OS Command ("OS Command Injection") CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE-116: Prevent XML Injection CWE-117: Improper Output Neutralization for Logs
CWE-134: Use of Externally-Controlled Format StringCWE-175: Improper Handling of Mixed Encoding CWE-180: Incorrect Behavior Order: Validate Before Canonicalize CWE-184: Incomplete List of Disallowed InputCWE-191: Integer Underflow (Wrap or Wraparound)CWE-197: Control rounding when converting to less precise numbersCWE-197: Numeric Truncation ErrorCWE-209: Generation of Error Message Containing Sensitive Information CWE-230: Improper Handling of Missing Values CWE-252: Unchecked Return Value CWE-330: Use of Insufficiently Random Values CWE-362, Concurrent Execution Using Shared Resource with Improper Synchronization ("Race Condition") CWE-366, Race Condition within a Thread CWE-369, Divide by Zero CWE-390, Detection of Error Condition without ActionCWE-392: Missing Report of Error ConditionCWE-397, Declaration of Throws for Generic ExceptionCWE-400: Uncontrolled Resource ConsumptionCWE-404: Improper Resource Shutdown or Release CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)CWE-410: Insufficient Resource PoolCWE-426: Untrusted Search PathCWE-460: Improper Cleanup on Thrown Exception CWE-472: External Control of Assumed-Immutable Web Parameter CWE-476, NULL Pointer Dereference CWE-489: Do not deliver an Application with Design tooling into Production.CWE-501: Trust Boundary Violation)CWE-502: Deserialization of Untrusted Data)CWE-532: Insertion of Sensitive Information into Log FileCWE-584: Return Inside Finally BlockCWE-595: Comparison of Object References Instead of Object ContentsCWE-617: Reachable AssertionCWE-665: Improper InitializationCWE-681: Avoid an uncontrolled loss of precision when passing floating-point literals to a Decimal constructorCWE-681: Incorrect Conversion between Numeric TypesCWE-754: Improper Check for Unusual or Exceptional ConditionsCWE-755: Improper Handling of Exceptional ConditionsCWE-778: Insufficient Logging CWE-798: Use of hardcoded credentialsCWE-833: DeadlockCWE-838: Inappropriate Encoding for Output Context CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')CWE-1095: Loop Condition Value Update within the LoopCWE-1109: Use of Same Variable for Multiple Purposes CWE-1335: Incorrect Bitwise Shift of IntegerCWE-1335: Promote readability and compatibility by using mathematical written code with arithmetic operations instead of bit-wise operationsCWE-1339: Insufficient Precision or Accuracy of a Real Number XXX-001: Avoid confusion over the evaluation order by using simple expressions XXX-005: Consider hash-based integrity verification of byte code files against their source code files