CWE-560
Use of umask() with chmod-style Argument
AI Translation Available
The product calls umask() with an incorrect argument that is specified as if it is an argument to chmod().
Status
draft
Abstraction
variant
Affected Platforms
C
Technical Details
AI Translation
Common Consequences
confidentiality
integrity
access control
Impacts
read files or directories
modify files or directories
bypass protection mechanism
Detection Methods
automated static analysis
Potential Mitigations
Phases:
implementation
Descriptions:
•
Use umask() with the correct argument.