[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

249461

 
 

909

 
 

195508

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Insufficient Comparison

ID: 697Date: (C)2012-05-14   (M)2022-10-10
Type: weaknessStatus: INCOMPLETE
Abstraction Type: Class





Description

The software compares two entities in a security-relevant context, but the comparison is insufficient, which may lead to resultant weaknesses.

Extended Description

This weakness class covers several possibilities:

the comparison checks one factor incorrectly;

the comparison should consider multiple factors, but it does not check some of those factors at all.

Applicable Platforms
None

Time Of Introduction

  • Implementation

Related Attack Patterns

Common Consequences

ScopeTechnical ImpactNotes
Other
 
Other
 
 

Detection Methods
None

Potential Mitigations
None

Relationships

Related CWETypeViewChain
CWE-697 ChildOf CWE-907 Category CWE-888  

Demonstrative Examples
None

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
CERT C Secure Coding MSC31-C
 
Ensure that return values are compared against the proper type
 
 
CERT C++ Secure Coding MSC31-CPP
 
Ensure that return values are compared against the proper type
 
 

References:
None

CVE    38
CVE-2011-3903
CVE-2021-0295
CVE-2021-23146
CVE-2021-27293
...

© SecPod Technologies