-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CWE-732: Insecure Directory Permissions #4222
Labels
Comments
omordyk
added a commit
that referenced
this issue
Jan 9, 2025
Signed-off-by: Oleksandr Mordyk <[email protected]>
12 tasks
12 tasks
omordyk
added a commit
that referenced
this issue
Jan 9, 2025
Signed-off-by: Oleksandr Mordyk <[email protected]>
LiilyZhang
pushed a commit
to LiilyZhang/anax
that referenced
this issue
Jan 30, 2025
…lities Signed-off-by: Oleksandr Mordyk <[email protected]>
LiilyZhang
added a commit
that referenced
this issue
Jan 31, 2025
#4222 - CWE-732: Insecure Directory Permissions vulnerabi…
LiilyZhang
pushed a commit
to LiilyZhang/anax
that referenced
this issue
Mar 3, 2025
…lities Signed-off-by: Oleksandr Mordyk <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
CWE-732: Insecure Directory Permissions
A sensitive sink functions were discovered. It causes a High severity Insecure Directory Permissions vulnerability.
The permission mode is passed as an integer to the os.MkdirAll function, which can lead to unintended permissions. The issue stems from how the permissions are specified in Go. The resulting permissions may be interpreted incorrectly.
To prevent unintended permissions, you should specify the mode in octal format.
List of problem places:
https://cwe.mitre.org/data/definitions/732.html
The text was updated successfully, but these errors were encountered: