Skip to content
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

fix gosec vulnerabilities: file and directory permissions #142

Merged
merged 1 commit into from
Dec 13, 2020

Conversation

kl09
Copy link
Contributor

@kl09 kl09 commented Dec 11, 2020

Gosec found some vulnerabilities:

  • Expect directory permissions to be 0750 or less
  • Expect WriteFile permissions to be 0600 or less

based on https://cwe.mitre.org/data/definitions/276.html

@sudo-suhas sudo-suhas merged commit b052143 into matryer:master Dec 13, 2020
@sudo-suhas
Copy link
Collaborator

Thanks @kl09, for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants