CWE-689: Permission Race Condition During Resource Copy

CompoundDraft

The product, while copying or cloning a resource, does not set the resource's permissions or access control until the copy is complete, leaving the resource exposed to other spheres while the copy is taking place.

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Composite

Applicable To

Languages
CPerl
Platforms

Frequently Asked Questions

What is CWE-689: Permission Race Condition During Resource Copy?+

CWE-689: Permission Race Condition During Resource Copy is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product, while copying or cloning a resource, does not set the resource's permissions or access control until the copy is complete, leaving the resource exposed to other spheres while the copy is taking place.

What are the security consequences of Permission Race Condition During Resource Copy?+

If exploited, CWE-689 (Permission Race Condition During Resource Copy) it can compromise Confidentiality and Integrity, leading to outcomes such as Read Application Data and Modify Application Data.

Which programming languages are affected by Permission Race Condition During Resource Copy?+

CWE-689 commonly affects C and Perl. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What are real-world examples of Permission Race Condition During Resource Copy?+

MITRE documents real CVEs mapped to CWE-689, including CVE-2002-0760, CVE-2005-2174, CVE-2006-5214, CVE-2005-2475 and CVE-2003-0265. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-689 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More