Bug 1732418 (CVE-2019-13509)
Summary: | CVE-2019-13509 docker: Docker Engine in debug mode may sometimes add secrets to the debug log leading to information disclosure | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Marian Rehak <mrehak> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | adimania, admiller, aileenc, amurdaca, andreas.bierfert, apmukher, chazlett, dornelas, drieden, dwalsh, ggaughan, ichavero, janstey, jcajka, jjoyce, jochrist, jschluet, lhh, lpeer, marianne, mburns, nalin, santiago, sclewis, slinaber |
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: | 2021-10-27 10:55:28 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: | 1732419, 1732420, 1748835 | ||
Bug Blocks: | 1732421 |
Description
Marian Rehak
2019-07-23 10:51:22 UTC
Created docker tracking bugs for this issue: Affects: epel-6 [bug 1732420] Affects: fedora-all [bug 1732419] Upstream patches: https://github.com/moby/moby/commit/73db8c77bfb2d0cbdf71ce491f3d3e66c9dd5be6 https://github.com/moby/moby/commit/f8a0f26843bc5aff33cf9201b75bd4bdbb48a3ad Upstream patch in the projectatomic/docker repository: https://github.com/projectatomic/docker/commit/47e2230740ce37f1f676d90fdae33c1b25e5315d Statement: This issue does affect the versions of docker as shipped with Red Hat Enterprise Linux 7, however debug mode on the daemon needs to be explicitly enabled as the docker systemd service, by default, does not enable debug mode. Red Hat Fuse provides only the Docker client library and is not affected by this vulnerability. Function maskSecretKeys() in api/server/middleware/debug.go masks some sensitive data when logging them, by replacing the real content with a set of asterisk. However the "Data" field was not properly masked in all cases, thus allowing an attacker to possibly see those sensitive data in the docker daemon log. Those logs should be anyway only visible by an administrator or an high-privileged user, but it may happen that a debug log is uploaded or shared when there is an issue and it is important to prevent secrets from leaking. |