Katalog CWE

CWE-743 · Kategoria

CERT C Secure Coding Standard (2008) Chapter 10 - Input Output (FIO)

Status
Przestarzały
Dodano
24 listopada 2008
Ostatnia zmiana
29 czerwca 2023

Pełny wpis na cwe.mitre.org ↗

Opis

Weaknesses in this category are related to the rules and recommendations in the Input Output (FIO) chapter of the CERT C Secure Coding Standard (2008).

Wpisy w tej grupie

Uwagi

<xhtml:p>In the 2008 version of the CERT C Secure Coding standard, the following rules were mapped to the following CWE IDs:</xhtml:p> <xhtml:ul> <xhtml:li>CWE-22 FIO02-C Canonicalize path names originating from untrusted sources</xhtml:li> <xhtml:li>CWE-37 FIO05-C Identify files using multiple file attributes</xhtml:li> <xhtml:li>CWE-38 FIO05-C Identify files using multiple file attributes</xhtml:li> <xhtml:li>CWE-39 FIO05-C Identify files using multiple file attributes</xhtml:li> <xhtml:li>CWE-41 FIO02-C Canonicalize path names originating from untrusted sources</xhtml:li> <xhtml:li>CWE-59 FIO02-C Canonicalize path names originating from untrusted sources</xhtml:li> <xhtml:li>CWE-62 FIO05-C Identify files using multiple file attributes</xhtml:li> <xhtml:li>CWE-64 FIO05-C Identify files using multiple file attributes</xhtml:li> <xhtml:li>CWE-65 FIO05-C Identify files using multiple file attributes</xhtml:li> <xhtml:li>CWE-67 FIO32-C Do not perform operations on devices that are only appropriate for files</xhtml:li> <xhtml:li>CWE-119 FIO37-C Do not assume character data has been read</xhtml:li> <xhtml:li>CWE-134 FIO30-C Exclude user input from format strings</xhtml:li> <xhtml:li>CWE-134 FIO30-C Exclude user input from format strings</xhtml:li> <xhtml:li>CWE-241 FIO37-C Do not assume character data has been read</xhtml:li> <xhtml:li>CWE-276 FIO06-C Create files with appropriate access permissions</xhtml:li> <xhtml:li>CWE-279 FIO06-C Create files with appropriate access permissions</xhtml:li> <xhtml:li>CWE-362 FIO31-C Do not simultaneously open the same file multiple times</xhtml:li> <xhtml:li>CWE-367 FIO01-C Be careful using functions that use file names for identification</xhtml:li> <xhtml:li>CWE-379 FIO15-C Ensure that file operations are performed in a secure directory</xhtml:li> <xhtml:li>CWE-379 FIO43-C Do not create temporary files in shared directories</xhtml:li> <xhtml:li>CWE-391 FIO04-C Detect and handle input and output errors</xhtml:li> <xhtml:li>CWE-391 FIO33-C Detect and handle input output errors resulting in undefined behavior</xhtml:li> <xhtml:li>CWE-403 FIO42-C Ensure files are properly closed when they are no longer needed</xhtml:li> <xhtml:li>CWE-404 FIO42-C Ensure files are properly closed when they are no longer needed</xhtml:li> <xhtml:li>CWE-552 FIO15-C Ensure that file operations are performed in a secure directory</xhtml:li> <xhtml:li>CWE-675 FIO31-C Do not simultaneously open the same file multiple times</xhtml:li> <xhtml:li>CWE-676 FIO01-C Be careful using functions that use file names for identification</xhtml:li> <xhtml:li>CWE-686 FIO00-C Take care when creating format strings</xhtml:li> <xhtml:li>CWE-732 FIO06-C Create files with appropriate access permissions</xhtml:li> </xhtml:ul>

Źródła

Wpis z katalogu CWE 4.20.