Mar 17, 2015 - Marin Jankovski

Security advisory for smtp settings

In GitLab 7.8.x, smtp settings example file contained the line openssl_verify_mode: 'none'. This meant that mail server TLS certificate wasn't verified by GitLab.

Confusion came from assumption that none is the default value when TLS is enabled and that it behaved the same as when the setting is omitted. In contact with Rails team member we've learned omitting openssl_verify_mode defaults to peer.

If you have installation from source, smtp enabled, TLS enabled and the above setting we advise you to change the setting to openssl_verify_mode: 'peer'.

Installations using omnibus packages are not affected.

Try all GitLab features - free for 30 days

GitLab is more than just source code management or CI/CD. It is a full software development lifecycle & DevOps tool in a single application.

Try GitLab for Free

Try GitLab risk-free for 30 days.

No credit card required. Have questions? Contact us.

Gitlab x icon svg