Bug 1346055 (CVE-2016-4983)
Summary: | CVE-2016-4983 dovecot insecure SSL/TLS key and certificate file creation | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Kurt Seifried <kseifried> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | dkholia, janfrode, jrusnack, kseifried, mhlavink |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-06 07:56:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1346056 | ||
Bug Blocks: | 1346019, 1349160 |
Description
Kurt Seifried
2016-06-13 19:36:42 UTC
Acknowledgments: Name: Kurt Seifried (Red Hat) Created dovecot tracking bugs for this issue: Affects: fedora-all [bug 1346056] I don't understand this bug report. Could you clarify it a little bit more?
> 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.
1) you suggest umask 077 first which is already there, just above the cat <<EOF line
2) what does it matter if it was exposed for a short moment (which it isn't) it the content is just a dummy template/placeholder. It is stored in post script which is known to everyone anyway. It can be queried from the system by regular user by: $ rpm -q --scripts dovecot AND the "quality" of the certificate data "SomeState" "SomeCity" etc. is something won't be trusted by anyone in real life even if someone tried to deploy dovecot with such a certificate which I doubt.
It is just a placeholder template to allow to run dovecot for testing on localhost, nothing more. It's no secret whatsoever.
Also you file a bug for "fedora-all" with recommendation of "First-time Service Setup" which is what fedora packages already do.
Basically everything has to be first run, even "test data", for container and related systems this stuff will cause problems, hence it needs to be removed/fixed. |