结构: Simple
Abstraction: Variant
状态: Incomplete
被利用可能性: unkown
The software uses an API function that does not exist on all versions of the target platform. This could cause portability problems or inconsistencies that allow denial of service or other consequences.
Some functions that offer security features supported by the OS are not available on all versions of the OS in common use. Likewise, functions are often deprecated or made obsolete for security reasons and should not be used.
cwe_Nature: ChildOf cwe_CWE_ID: 474 cwe_View_ID: 1000 cwe_Ordinal: Primary
cwe_Nature: ChildOf cwe_CWE_ID: 474 cwe_View_ID: 699 cwe_Ordinal: Primary
范围 | 影响 | 注释 |
---|---|---|
Other | Quality Degradation |
策略:
Always test your code on any platform on which it is targeted to run on.
策略:
Test your code on the newest and oldest platform on which it is targeted to run on.
策略:
Develop a system to test for API functions that are not portable.
映射的分类名 | ImNode ID | Fit | Mapped Node Name |
---|---|---|---|
The CERT Oracle Secure Coding Standard for Java (2011) | MET02-J | Do not use deprecated or obsolete classes or methods | |
The CERT Oracle Secure Coding Standard for Java (2011) | SER00-J | Maintain serialization compatibility during class evolution | |
Software Fault Patterns | SFP3 | Use of an improper API |