Title: ENV03-C. Sanitize the environment when invoking external programs  
Author: Robert Seacord Feb 01, 2007
Last Changed by: Jill Britton Apr 20, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/JNcxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C Coding Standard (2)
    Page: ENV33-C. Do not call system()
    Page: STR02-C. Sanitize data passed to complex subsystems
SEI CERT Oracle Coding Standard for Java (1)
    Page: IDS07-J. Sanitize untrusted data passed to the Runtime.exec() method
Hierarchy
Parent Page
    Page: Rec. 10. Environment (ENV)
Outgoing Links
External Links (14)
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    cwe.mitre.org/data/definitions/88.html
    cwe.mitre.org/data/definitions/807.html
    https://www.securecoding.cert.org/confluence/display/seccod…
    cwe.mitre.org/data/definitions/426.html
    www.cert.org/advisories/CA-1995-14.html
    www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/envi…
    https://www.securecoding.cert.org/confluence/display/seccod…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/data/definitions/78.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://cwe.mitre.org/data/definitions/471.html
SEI CERT C Coding Standard (10)     Page: Helix QAC
    Page: POS02-C. Follow the principle of least privilege
    Page: Helix QAC_V
    Page: BB. Definitions
    Page: STR02-C. Sanitize data passed to complex subsystems
    Home page: SEI CERT C Coding Standard
    Page: LDRA
    Page: AA. Bibliography
    Page: ENV33-C. Do not call system()
    Page: LDRA_V
SEI CERT C++ Coding Standard (2)     Home page: SEI CERT C++ Coding Standard
    Page: VOID ENV01-CPP. Sanitize the environment when invoking external programs
SEI CERT Oracle Coding Standard for Java (2)     Home page: SEI CERT Oracle Coding Standard for Java
    Page: IDS07-J. Sanitize untrusted data passed to the Runtime.exec() method