CWE-566WeaknessVariant
The product uses a database table that includes records that should not be accessible to an actor, but it executes a SQL statement with a primary key that can be controlled by that actor.
CWE-567WeaknessBase
The product does not properly synchronize shared data, such as static variables across threads, which can lead to undefined behavior and unpredictable data changes.
CWE-568WeaknessVariant
The product contains a finalize() method that does not call super.finalize().
CWE-570WeaknessBase
The product contains an expression that will always evaluate to false.
CWE-571WeaknessBase
The product contains an expression that will always evaluate to true.
CWE-572WeaknessVariant
The product calls a thread's run() method instead of calling start(), which causes the code to run in the thread of the caller instead of the callee.
CWE-573WeaknessClass
The product does not follow or incorrectly follows the specifications as required by the implementation language, environment, framework, protocol, or platform.
CWE-574WeaknessVariant
The product violates the Enterprise JavaBeans (EJB) specification by using thread synchronization primitives.
CWE-575WeaknessVariant
The product violates the Enterprise JavaBeans (EJB) specification by using AWT/Swing.
CWE-576WeaknessVariant
The product violates the Enterprise JavaBeans (EJB) specification by using the java.io package.
CWE-577WeaknessVariant
The product violates the Enterprise JavaBeans (EJB) specification by using sockets.
CWE-578WeaknessVariant
The product violates the Enterprise JavaBeans (EJB) specification by using the class loader.
CWE-579WeaknessVariant
The product stores a non-serializable object as an HttpSession attribute, which can hurt reliability.
CWE-580WeaknessVariant
The product contains a clone() method that does not call super.clone() to obtain the new object.
CWE-581WeaknessVariant
The product does not maintain equal hashcodes for equal objects.
CWE-582WeaknessVariant
The product declares an array public, final, and static, which is not sufficient to prevent the array's contents from being modified.
CWE-583WeaknessVariant
The product violates secure coding principles for mobile code by declaring a finalize() method public.
CWE-584WeaknessBase
The code has a return statement inside a finally block, which will cause any thrown exception in the try block to be discarded.
CWE-585WeaknessVariant
The product contains an empty synchronized block.
CWE-586WeaknessBase
The product makes an explicit call to the finalize() method from outside the finalizer.
CWE-587WeaknessVariant
The product sets a pointer to a specific address other than NULL or 0.
CWE-588WeaknessVariant
Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.
CWE-589WeaknessVariant
The product 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.
CWE-590WeaknessVariant
The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().
CWE-591WeaknessVariant
The product stores sensitive data in memory that is not locked, or that has been incorrectly locked, which might cause the memory to be written to swap files on disk by the virtual memory manager. This can make the data more accessible to external actors.
CWE-592WeaknessClass
This weakness has been deprecated because it covered redundant concepts already described in CWE-287.
CWE-593WeaknessVariant
The product modifies the SSL context after connection creation has begun.
CWE-594WeaknessVariant
When the J2EE container attempts to write unserializable objects to disk there is no guarantee that the process will complete successfully.
CWE-595WeaknessVariant
The product compares object references instead of the contents of the objects themselves, preventing it from detecting equivalent objects.
CWE-596WeaknessBase
This weakness has been deprecated. It was poorly described and difficult to distinguish from other entries. It was also inappropriate to assign a separate ID solely because of domain-specific considerations. Its closest equivalent is CWE-1023.
CWE-597WeaknessVariant
The product uses the wrong operator when comparing a string, such as using "==" when the .equals() method should be used instead.
CWE-598WeaknessVariant
The web application uses an HTTP method to process a request, but the request includes sensitive information in the query string.
CWE-599WeaknessVariant
The product uses OpenSSL and trusts or uses a certificate without using the SSL_get_verify_result() function to ensure that the certificate satisfies all necessary security requirements.
CWE-600WeaknessVariant
The Servlet does not catch all exceptions, which may reveal sensitive debugging information.
CWE-601WeaknessBase
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
CWE-602WeaknessClass
The product is composed of a server that relies on the client to implement a mechanism that is intended to protect the server.
CWE-603WeaknessBase
A client/server product performs authentication within client code but not in server code, allowing server-side authentication to be bypassed via a modified client that omits the authentication check.
CWE-605WeaknessVariant
When multiple sockets are allowed to bind to the same port, other services on that port may be stolen or spoofed.
CWE-606WeaknessBase
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
CWE-607WeaknessVariant
A public or protected static final field references a mutable object, which allows the object to be changed by malicious code, or accidentally from another package.
CWE-608WeaknessVariant
An ActionForm class contains a field that has not been declared private, which can be accessed without using a setter or getter.
CWE-609WeaknessBase
The product uses double-checked locking to access a resource without the overhead of explicit synchronization, but the locking is insufficient.
CWE-610WeaknessClass
The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
CWE-611WeaknessBase
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
CWE-612WeaknessBase
The product creates a search index of private or sensitive documents, but it does not properly limit index access to actors who are authorized to see the original information.
CWE-613WeaknessBase
According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
CWE-614WeaknessVariant
The Secure attribute for sensitive cookies in HTTPS sessions is not set.
CWE-615WeaknessVariant
While adding general comments is very useful, some programmers tend to leave important data, such as: filenames related to the web application, old links or links which were not meant to be browsed by users, old code fragments, etc.
CWE-616WeaknessVariant
The PHP application uses an old method for processing uploaded files by referencing the four global variables that are set for each file (e.g. $varname, $varname_size, $varname_name, $varname_type). These variables could be overwritten by attackers, causing the application to process unauthorized files.
CWE-617WeaknessBase
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.