Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CWE-1082:Class Instance Self Destruction Control Element
Weakness ID:1082
Version:v4.17
Weakness Name:Class Instance Self Destruction Control Element
Vulnerability Mapping:Prohibited
Abstraction:Base
Structure:Simple
Status:Incomplete
Likelihood of Exploit:
DetailsContent HistoryObserved CVE ExamplesReports
▼Description

The code contains a class instance that calls the method or function to delete or destroy itself.

▼Extended Description

For example, in C++, "delete this" will cause the object to delete itself.

This issue can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

▼Alternate Terms
▼Relationships
Relevant to the view"Research Concepts - (1000)"
NatureMappingTypeIDName
ChildOfProhibitedC1076Insufficient Adherence to Expected Conventions
Nature: ChildOf
Mapping: Prohibited
Type: Class
ID: 1076
Name: Insufficient Adherence to Expected Conventions
▼Memberships
NatureMappingTypeIDName
MemberOfProhibitedC1006Bad Coding Practices
MemberOfProhibitedC1129CISQ Quality Measures (2016) - Reliability
MemberOfProhibitedC1306CISQ Quality Measures - Reliability
MemberOfProhibitedC1412Comprehensive Categorization: Poor Coding Practices
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1006
Name: Bad Coding Practices
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1129
Name: CISQ Quality Measures (2016) - Reliability
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1306
Name: CISQ Quality Measures - Reliability
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1412
Name: Comprehensive Categorization: Poor Coding Practices
▼Tags
NatureMappingTypeIDName
MemberOfProhibitedBSBOSS-317Reduce Reliability (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-317
Name: Reduce Reliability (impact)
▼Relevant To View
Relevant to the view"Software Development - (699)"
NatureMappingTypeIDName
MemberOfProhibitedC1006Bad Coding Practices
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 1006
Name: Bad Coding Practices
Relevant to the view"CISQ Quality Measures (2020) - (1305)"
NatureMappingTypeIDName
MemberOfProhibitedC1306CISQ Quality Measures - Reliability
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 1306
Name: CISQ Quality Measures - Reliability
▼Background Detail

▼Common Consequences
ScopeLikelihoodImpactNote
OtherN/AReduce Reliability
N/A
Scope: Other
Likelihood: N/A
Impact: Reduce Reliability
Note:
N/A
▼Potential Mitigations
▼Modes Of Introduction
▼Applicable Platforms
▼Demonstrative Examples
▼Observed Examples
ReferenceDescription
▼Affected Resources
    ▼Functional Areas
      ▼Weakness Ordinalities
      OrdinalityDescription
      Indirect
      N/A
      Ordinality: Indirect
      Description:
      N/A
      ▼Detection Methods
      ▼Vulnerability Mapping Notes
      Usage:Prohibited
      Reason:Other
      Rationale:

      This entry is primarily a quality issue with no direct security implications.

      Comments:

      Look for weaknesses that are focused specifically on insecure behaviors that have more direct security implications.

      Suggestions:
      ▼Notes
      ▼Taxonomy Mappings
      Taxonomy NameEntry IDFitEntry Name
      OMG ASCRMASCRM-RLB-7N/AN/A
      Taxonomy Name: OMG ASCRM
      Entry ID: ASCRM-RLB-7
      Fit: N/A
      Entry Name: N/A
      ▼Related Attack Patterns
      IDName
      ▼References
      Reference ID: REF-961
      Title: Automated Source Code Reliability Measure (ASCRM)
      Author: Object Management Group (OMG)
      Section: ASCRM-RLB-7
      Publication:
      Publisher:
      Edition:
      URL:http://www.omg.org/spec/ASCRM/1.0/
      URL Date:
      Day:N/A
      Month:01
      Year:2016
      Reference ID: REF-976
      Title: Memory Management
      Author: Standard C++ Foundation
      Section:
      Publication:
      Publisher:
      Edition:
      URL:https://isocpp.org/wiki/faq/freestore-mgmt#delete-this
      URL Date:
      Day:N/A
      Month:N/A
      Year:N/A
      Details not found