CWE

Common Weakness Enumeration

Celebrating 20 years of community-developed cybersecurity weakness knowledge!

New to CWE? click here!
CWE Most Important Hardware Weaknesses
CWE Top 25 Most Dangerous Weaknesses
Home > CWE List > CWE-377: DEPRECATED: Insecure Temporary File (5.0)  
ID

CWE-377: DEPRECATED: Insecure Temporary File

Weakness ID: 377
Vulnerability Mapping: PROHIBITED This CWE ID must not be used to map to real-world vulnerabilities
Abstraction: Class Class - a weakness that is described in a very abstract fashion, typically independent of any specific language or technology. More specific than a Pillar Weakness, but more general than a Base Weakness. Class level weaknesses typically describe issues in terms of 1 or 2 of the following dimensions: behavior, property, and resource.
View customized information:
Shows the description and diagram, platforms, mitigations, consequences, relationships, memberships, and content history. For users who are interested in more notional aspects of a weakness. Example: educators, technical writers, and project/program managers. For users who are concerned with the practical application and details about the nature of a weakness and how to prevent it from happening. Example: tool developers, security researchers, pen-testers, incident response analysts. For users who are mapping an issue to CWE/CAPEC IDs, i.e., finding the most appropriate CWE for a specific issue (e.g., a CVE record). Example: tool developers, security researchers. For users who wish to see all available information for the CWE/CAPEC entry. For users who want to customize what details are displayed.
×

Edit Custom Filter


+ Description
This entry has been deprecated. It was focused only on the affected resource (temporary file) and not the behavior or mistake that produced the insecure temporary file, which caused confusion and incorrect mappings.
+ Vulnerability Mapping Notes
Usage PROHIBITED
(this CWE ID must not be used to map to real-world vulnerabilities)
Reasons Deprecated, Frequent Misuse, Frequent Misinterpretation

Rationale

This CWE entry has been deprecated.

Comments

This entry has multiple widespread interpretations by CWE analysts, partially due to its ambiguous name. It combines information from three different taxonomies, but each taxonomy is talking about a slightly different issue. See Maintenance Notes.
+ Taxonomy Mappings
Mapped Taxonomy Name Node ID Fit Mapped Node Name
7 Pernicious Kingdoms Insecure Temporary File
CERT C Secure Coding CON33-C Imprecise Avoid race conditions when using library functions
The CERT Oracle Secure Coding Standard for Java (2011) FIO00-J Do not operate on files in shared directories
+ Content History
+ Submissions
Submission Date Submitter Organization
2006-07-19
(CWE Draft 3, 2006-07-19)
7 Pernicious Kingdoms
+ Modifications
Modification Date Modifier Organization
2026-10-28
(CWE 5.0, 2026-10-28)
CWE Content Team MITRE
updated Applicable_Platforms, Common_Consequences, Demonstrative_Examples, Description, Detection_Factors, Mapping_Notes, Name, Observed_Examples, Other_Notes, References, Relationships, Time_of_Introduction, Type, Weakness_Ordinalities
2026-10-27
(CWE 5.0, 2026-10-28)
CWE Content Team MITRE
Deprecated this entry.
2025-12-11
(CWE 4.19, 2025-12-11)
CWE Content Team MITRE
updated Other_Notes, Relationships, Weakness_Ordinalities
2023-10-26
(CWE 4.13, 2023-10-26)
CWE Content Team MITRE
updated Observed_Examples
2023-06-29
(CWE 4.12, 2023-06-29)
CWE Content Team MITRE
updated Mapping_Notes, Relationships
2023-04-27
(CWE 4.11, 2023-04-27)
CWE Content Team MITRE
updated Detection_Factors, Relationships, Time_of_Introduction
2023-01-31
(CWE 4.10, 2023-01-31)
CWE Content Team MITRE
updated Related_Attack_Patterns
2021-10-28
(CWE 4.6, 2021-10-28)
CWE Content Team MITRE
updated Relationships
2020-02-24
(CWE 4.0, 2020-02-24)
CWE Content Team MITRE
updated References, Relationships, Type
2019-06-20
(CWE 3.3, 2019-06-20)
CWE Content Team MITRE
updated Related_Attack_Patterns
2019-01-03
(CWE 3.2, 2019-01-03)
CWE Content Team MITRE
updated Relationships, Taxonomy_Mappings
2018-03-27
(CWE 3.1, 2018-03-27)
CWE Content Team MITRE
updated References
2017-11-08
(CWE 3.0, 2017-11-08)
CWE Content Team MITRE
updated Applicable_Platforms, References, Taxonomy_Mappings
2014-07-30
(CWE 2.8, 2014-07-31)
CWE Content Team MITRE
updated Relationships
2012-05-11
(CWE 2.2, 2012-05-15)
CWE Content Team MITRE
updated References, Relationships, Taxonomy_Mappings
2011-06-01
(CWE 1.13, 2011-06-01)
CWE Content Team MITRE
updated Common_Consequences, Relationships, Taxonomy_Mappings
2010-02-16
(CWE 1.8, 2010-02-16)
CWE Content Team MITRE
updated References
2009-05-27
(CWE 1.4, 2009-05-27)
CWE Content Team MITRE
updated Demonstrative_Examples
2009-03-10
(CWE 1.3, 2009-03-10)
CWE Content Team MITRE
updated Demonstrative_Examples
2008-09-08
(CWE 1.0, 2008-09-09)
CWE Content Team MITRE
updated Relationships, Other_Notes, Taxonomy_Mappings
2008-07-01
(CWE 1.0, 2008-09-09)
Eric Dalci Cigital
updated Time_of_Introduction
+ Previous Entry Names
Change Date Previous Entry Name
2026-10-28 Insecure Temporary File
Page Last Updated: Oct 28, 2026