{"@ID": "748", "@Name": "CERT C Secure Coding Standard (2008) Appendix - POSIX (POS)", "@Status": "Obsolete", "Summary": "Weaknesses in this category are related to the rules and recommendations in the POSIX (POS) appendix of the CERT C Secure Coding Standard (2008).", "Relationships": {"Has_Member": [{"@CWE_ID": "170", "@View_ID": "734"}, {"@CWE_ID": "242", "@View_ID": "734"}, {"@CWE_ID": "272", "@View_ID": "734"}, {"@CWE_ID": "273", "@View_ID": "734"}, {"@CWE_ID": "363", "@View_ID": "734"}, {"@CWE_ID": "366", "@View_ID": "734"}, {"@CWE_ID": "562", "@View_ID": "734"}, {"@CWE_ID": "59", "@View_ID": "734"}, {"@CWE_ID": "667", "@View_ID": "734"}, {"@CWE_ID": "686", "@View_ID": "734"}, {"@CWE_ID": "696", "@View_ID": "734"}]}, "References": {"Reference": {"@External_Reference_ID": "REF-597"}}, "Mapping_Notes": {"Usage": "Prohibited", "Rationale": "This entry is a Grouping. Using groupings for mapping has been discouraged since 2019. They are informal organizational groupings of weaknesses that can help CWE users with data aggregation, navigation, and browsing. However, they are not weaknesses in themselves.", "Comments": "See member weaknesses of this category.", "Reasons": {"Reason": {"@Type": "Grouping"}}}, "Notes": {"Note": {"@Type": "Relationship", "xhtml:p": "In the 2008 version of the CERT C Secure Coding standard, the following rules were mapped to the following CWE IDs:", "xhtml:ul": {"xhtml:li": ["CWE-59 POS01-C Check for the existence of links when dealing with files", "CWE-170 POS30-C Use the readlink() function properly", "CWE-242 POS33-C Do not use vfork()", "CWE-272 POS02-C Follow the principle of least privilege", "CWE-273 POS37-C Ensure that privilege relinquishment is successful", "CWE-363 POS35-C Avoid race conditions while checking for the existence of a symbolic link", "CWE-366 POS00-C Avoid race conditions with multiple threads", "CWE-562 POS34-C Do not call putenv() with a pointer to an automatic variable as the argument", "CWE-667 POS31-C Do not unlock or destroy another thread's mutex", "CWE-686 POS34-C Do not call putenv() with a pointer to an automatic variable as the argument", "CWE-696 POS36-C Observe correct revocation order while relinquishing privileges"]}, "#text_blocks": ["In the 2008 version of the CERT C Secure Coding standard, the following rules were mapped to the following CWE IDs:", "CWE-59 POS01-C Check for the existence of links when dealing with files", "CWE-170 POS30-C Use the readlink() function properly", "CWE-242 POS33-C Do not use vfork()", "CWE-272 POS02-C Follow the principle of least privilege", "CWE-273 POS37-C Ensure that privilege relinquishment is successful", "CWE-363 POS35-C Avoid race conditions while checking for the existence of a symbolic link", "CWE-366 POS00-C Avoid race conditions with multiple threads", "CWE-562 POS34-C Do not call putenv() with a pointer to an automatic variable as the argument", "CWE-667 POS31-C Do not unlock or destroy another thread's mutex", "CWE-686 POS34-C Do not call putenv() with a pointer to an automatic variable as the argument", "CWE-696 POS36-C Observe correct revocation order while relinquishing privileges"]}}, "Content_History": {"Submission": {"Submission_Name": "CWE Content Team", "Submission_Organization": "MITRE", "Submission_Date": "2008-11-24", "Submission_Version": "1.1", "Submission_ReleaseDate": "2008-11-24"}, "Modification": [{"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2017-11-08", "Modification_Version": "3.0", "Modification_ReleaseDate": "2017-11-08", "Modification_Comment": "updated Description, Name, Relationship_Notes"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2019-01-03", "Modification_Version": "3.2", "Modification_ReleaseDate": "2019-01-03", "Modification_Comment": "updated Description, Name, References, Relationship_Notes, Relationships"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-04-27", "Modification_Version": "4.11", "Modification_ReleaseDate": "2023-04-27", "Modification_Comment": "updated Mapping_Notes"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-06-29", "Modification_Version": "4.12", "Modification_ReleaseDate": "2023-06-29", "Modification_Comment": "updated Mapping_Notes"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2026-10-28", "Modification_Version": "5.0", "Modification_ReleaseDate": "2026-10-28", "Modification_Comment": "updated Mapping_Notes, Type"}], "Previous_Entry_Name": [{"@Date": "2017-11-08", "#text": "CERT C Secure Coding Section 50 - POSIX (POS)"}, {"@Date": "2019-01-03", "#text": "CERT C Secure Coding (2008 Version) Section 50 - POSIX (POS)"}]}, "entry_type": "Grouping"}
