Katalog CWE

CWE-748 · Kategoria

CERT C Secure Coding Standard (2008) Appendix - POSIX (POS)

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 POSIX (POS) appendix 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-59 POS01-C Check for the existence of links when dealing with files</xhtml:li> <xhtml:li>CWE-170 POS30-C Use the readlink() function properly</xhtml:li> <xhtml:li>CWE-242 POS33-C Do not use vfork()</xhtml:li> <xhtml:li>CWE-272 POS02-C Follow the principle of least privilege</xhtml:li> <xhtml:li>CWE-273 POS37-C Ensure that privilege relinquishment is successful</xhtml:li> <xhtml:li>CWE-363 POS35-C Avoid race conditions while checking for the existence of a symbolic link</xhtml:li> <xhtml:li>CWE-366 POS00-C Avoid race conditions with multiple threads</xhtml:li> <xhtml:li>CWE-562 POS34-C Do not call putenv() with a pointer to an automatic variable as the argument</xhtml:li> <xhtml:li>CWE-667 POS31-C Do not unlock or destroy another thread's mutex</xhtml:li> <xhtml:li>CWE-686 POS34-C Do not call putenv() with a pointer to an automatic variable as the argument</xhtml:li> <xhtml:li>CWE-696 POS36-C Observe correct revocation order while relinquishing privileges</xhtml:li> </xhtml:ul>

Źródła

Wpis z katalogu CWE 4.20.