Bug 1695963 (CVE-2019-12439)
Summary: | CVE-2019-12439 bubblewrap: temporary directory misuse as mount point | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Pedro Sampaio <psampaio> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | alexl, dajohnso, dmetzger, gblomqui, gmainwar, gmccullo, gtanzill, jfrey, jhardy, jlaska, jprause, kdelee, kdixon, lsm5, mclasen, notting, notting, obarenbo, roliveri, simaishi, walters |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | bubblewrap 0.3.3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-24 19:18:18 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: | 1695965, 1695964, 1697974, 1712029, 1724905 | ||
Bug Blocks: | 1695966 |
Description
Pedro Sampaio
2019-04-04 00:11:27 UTC
Created bubblewrap tracking bugs for this issue: Affects: epel-7 [bug 1695965] Affects: fedora-all [bug 1695964] Github release https://github.com/projectatomic/bubblewrap/releases/tag/v0.3.3 just went out with the bugfix for https://github.com/projectatomic/bubblewrap/issues/304 RPM build is pending on bohdi now: https://bodhi.fedoraproject.org/updates/bubblewrap-0.3.3-2.el7 (In reply to Borja Tarraso from comment #5) > Statement: > > Tower is not affected since systemd-logind is used by default and the UID > under /run/user/ is pre-created before bubblewrap service starts. This is incorrect; the system user using bubblewrap is not using a login session. That being said, it would require local system access to try to exploit, which the vast majority of users should not have. Upstream patch: https://github.com/projectatomic/bubblewrap/commit/efc89e3b939b4bde42c10f065f6b7b02958ed50e Setting Attack Complexity(AC) to High(H) as for an attack to be successful fs.protected_symlinks sysctl should be 0, which is not the case by default on Red Hat Enterprise Linux. The attack also requires the path /run/user/<uid>/.bubblewrap to not exist, to be inaccessible or the program to fail when trying to create it. Normally, this directory either already exists or it is under the user control and it can be safely created by bubblewrap. Statement: This flaw requires a local user account to exploit. Since local users without root privileges are not supported on Red Had CloudForms, or on Red Hat Ansible Tower, this vulnerability is rated Low severity on these products. Future updates may address this vulnerability. Mitigation: The default setting of `fs.protected_symlinks = 1` prevents any Confidentiality or Integrity impact from exploiting this vulnerability, reducing its rating to Low severity (4.7/CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H). This issue has been addressed in the following products: CloudForms Management Engine 5.10 Via RHSA-2019:1833 https://access.redhat.com/errata/RHSA-2019:1833 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-12439 |