Bugzilla – Bug 984639
VUL-1: CVE-2016-4983: dovecot insecure SSL/TLS key and certificate file creation
Last modified: 2017-06-13 09:02:48 UTC
Redhat found a race condition between certificate creation and chmod of the keyfile in dovecot quoting: from: /usr/libexec/dovecot/mkcert.sh $OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2 chown root:root $CERTFILE $KEYFILE chmod 0600 $CERTFILE $KEYFILE this can lead to the contents of the file being exposed between the time the file is created and the chmod command runs. I would suggest setting umask 077 first. References: https://bugzilla.redhat.com/show_bug.cgi?id=1346055 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-4982
(its not really a big race window, but if someone would target it, it coudl be reachable)
bugbot adjusting priority
CVE-2016-4983 is the correct CVE. CVE-2016-4982 was for authd
submitted
openSUSE-SU-2016:2876-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 984639 CVE References: CVE-2016-4983 Sources used: openSUSE Leap 42.2 (src): dovecot22-2.2.25-3.1 openSUSE Leap 42.1 (src): dovecot22-2.2.18-9.1 openSUSE 13.2 (src): dovecot22-2.2.13-3.7.1
SUSE-SU-2016:2915-1: An update that solves one vulnerability and has one errata is now available. Category: security (low) Bug References: 1003952,984639 CVE References: CVE-2016-4983 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP2 (src): dovecot22-2.2.13-4.1 SUSE Linux Enterprise Software Development Kit 12-SP1 (src): dovecot22-2.2.13-4.1 SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src): dovecot22-2.2.13-4.1 SUSE Linux Enterprise Server 12-SP2 (src): dovecot22-2.2.13-4.1 SUSE Linux Enterprise Server 12-SP1 (src): dovecot22-2.2.13-4.1
released