CWE-560

Use of umask() with chmod-style Argument

Medium

Description

The product calls umask() with an incorrect argument that is specified as if it is an argument to chmod().

Potential Impact

How to Fix

Implementation

Use umask() with the correct argument.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-560 vulnerabilities in your codebase.

Get Security Assessment