gitlab-org--gitlab-foss/doc/release/security.md
Sytse Sijbrandij 6413bfb5c6 Merge branch 'master' into full-post-to-oss-security
Conflicts:
	doc/release/security.md
2013-11-19 16:38:43 +01:00

3.7 KiB

Things to do when doing an out-of-bound security release

NOTE: This is a guide for GitLab developers. If you are trying to install GitLab see the latest stable installation guide and if you are trying to upgrade, see the upgrade guides.

When to do a security release

Do a security release when there is a critical issue that needs to be adresses before the next monthly release. Otherwise include it in the monthly release and note there was a security fix in the release announcement.

Security vulnerability disclosure

Please report suspected security vulnerabilities in private to support@gitlab.com, also see the disclosure section on the GitLab.com website. Please do NOT create publicly viewable issues for suspected security vulnerabilities.

Release Procedure

  1. Verify that the issue can be repoduced
  2. Acknowledge the issue to the researcher that disclosed it
  3. Fix the issue on a feature branch, do this on the private GitLab development server and update the VERSION and CHANGELOG in this branch
  4. Consider creating and testing workarounds
  5. Create feature branches for the blog posts on GitLab.org and GitLab.com and link them from the code branch
  6. Merge the code feature branch into master
  7. Cherry-pick the code into the latest stable branch
  8. Create a git tag vX.X.X for CE and another patch release for EE
  9. Push the code and the tags to all the CE and EE repositories
  10. Apply the patch to GitLab Cloud and the private GitLab development server
  11. Merge and publish the blog posts
  12. Send tweets about the release from @gitlabhq and @git_lab
  13. Send out an email to the subscribers mailing list on MailChimp
  14. Send out an email to the community google mailing list
  15. Send out an email to the GitLab newsletter list
  16. Post a signed copy of our complete announcement to oss-security and request a CVE number
  17. Add the security researcher to the Security Researcher Acknowledgments list
  18. Thank the security researcher in an email for their cooperation
  19. Update the blogpost and the CHANGELOG when we receive the CVE number

The timing of the code merge into master should be coordinated in advance. After the merge we strive to publish the announcements within 60 minutes.

Blog post template

XXX Security Advisory for GitLab

A recently discovered critical vulnerability in GitLab allows [unauthenticated API access|remote code execution|unauthorized access to repositories|XXX|PICKSOMETHING]. All users should update GitLab and gitlab-shell immediately. We [have|haven't|XXX|PICKSOMETHING|] heard of this vulnerability being actively exploited.

Version affected

GitLab Community Edition XXX and lower GitLab Enterprise Edition XXX and lower

Fixed versions

GitLab Community Edition XXX and up GitLab Enterprise Edition XXX and up

Impact

On GitLab installations which use MySQL as their database backend it is possible for an attacker to assume the identity of any existing GitLab user in certain API calls. This attack can be performed by [unauthenticated|authenticated|XXX|PICKSOMETHING] users.

Workarounds

If you are unable to upgrade you should apply the following patch and restart GitLab.

XXX

Credit

We want to thank XXX of XXX for the reponsible disclosure of this vulnerability.

Email template

We just announced a security advisory for GitLab at XXX

Please contact us at support@gitlab.com if you have any questions.

Tweet template

We just announced a security advisory for GitLab at XXX