CVE Vulnerabilities

CVE-2019-12448

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Published: May 29, 2019 | Modified: Nov 07, 2023
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
6.4 MODERATE
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM

An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2. daemon/gvfsbackendadmin.c has race conditions because the admin backend doesnt implement query_info_on_read/write.

Weakness

The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.

Affected Software

Name Vendor Start Version End Version
Gvfs Gnome 1.29.4 (including) 1.41.2 (including)
Red Hat Enterprise Linux 8 RedHat accountsservice-0:0.6.50-8.el8 *
Red Hat Enterprise Linux 8 RedHat appstream-data-0:8-20191129.el8 *
Red Hat Enterprise Linux 8 RedHat baobab-0:3.28.0-4.el8 *
Red Hat Enterprise Linux 8 RedHat clutter-0:1.26.2-8.el8 *
Red Hat Enterprise Linux 8 RedHat evince-0:3.28.4-4.el8 *
Red Hat Enterprise Linux 8 RedHat gdm-1:3.28.3-29.el8 *
Red Hat Enterprise Linux 8 RedHat gjs-0:1.56.2-4.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-boxes-0:3.28.5-8.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-control-center-0:3.28.2-19.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-menus-0:3.13.3-11.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-online-accounts-0:3.28.2-1.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-remote-desktop-0:0.1.6-8.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-session-0:3.28.1-8.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-settings-daemon-0:3.32.0-9.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-shell-0:3.32.2-14.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-software-0:3.30.6-3.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-terminal-0:3.28.3-1.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-tweaks-0:3.28.1-7.el8 *
Red Hat Enterprise Linux 8 RedHat gsettings-desktop-schemas-0:3.32.0-4.el8 *
Red Hat Enterprise Linux 8 RedHat gtk3-0:3.22.30-5.el8 *
Red Hat Enterprise Linux 8 RedHat gvfs-0:1.36.2-8.el8 *
Red Hat Enterprise Linux 8 RedHat LibRaw-0:0.19.5-1.el8 *
Red Hat Enterprise Linux 8 RedHat libvncserver-0:0.9.11-14.el8 *
Red Hat Enterprise Linux 8 RedHat libxslt-0:1.1.32-4.el8 *
Red Hat Enterprise Linux 8 RedHat mozjs52-0:52.9.0-2.el8 *
Red Hat Enterprise Linux 8 RedHat mozjs60-0:60.9.0-4.el8 *
Red Hat Enterprise Linux 8 RedHat mutter-0:3.32.2-34.el8 *
Red Hat Enterprise Linux 8 RedHat nautilus-0:3.28.1-12.el8 *
Red Hat Enterprise Linux 8 RedHat vala-0:0.40.19-1.el8 *
Red Hat Enterprise Linux 8 RedHat vinagre-0:3.22.0-21.el8 *
Red Hat Enterprise Linux 8 RedHat accountsservice-0:0.6.50-8.el8 *
Red Hat Enterprise Linux 8 RedHat appstream-data-0:8-20191129.el8 *
Red Hat Enterprise Linux 8 RedHat baobab-0:3.28.0-4.el8 *
Red Hat Enterprise Linux 8 RedHat clutter-0:1.26.2-8.el8 *
Red Hat Enterprise Linux 8 RedHat evince-0:3.28.4-4.el8 *
Red Hat Enterprise Linux 8 RedHat gdm-1:3.28.3-29.el8 *
Red Hat Enterprise Linux 8 RedHat gjs-0:1.56.2-4.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-boxes-0:3.28.5-8.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-control-center-0:3.28.2-19.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-menus-0:3.13.3-11.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-online-accounts-0:3.28.2-1.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-remote-desktop-0:0.1.6-8.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-session-0:3.28.1-8.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-settings-daemon-0:3.32.0-9.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-shell-0:3.32.2-14.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-software-0:3.30.6-3.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-terminal-0:3.28.3-1.el8 *
Red Hat Enterprise Linux 8 RedHat gnome-tweaks-0:3.28.1-7.el8 *
Red Hat Enterprise Linux 8 RedHat gsettings-desktop-schemas-0:3.32.0-4.el8 *
Red Hat Enterprise Linux 8 RedHat gtk3-0:3.22.30-5.el8 *
Red Hat Enterprise Linux 8 RedHat gvfs-0:1.36.2-8.el8 *
Red Hat Enterprise Linux 8 RedHat LibRaw-0:0.19.5-1.el8 *
Red Hat Enterprise Linux 8 RedHat libvncserver-0:0.9.11-14.el8 *
Red Hat Enterprise Linux 8 RedHat libxslt-0:1.1.32-4.el8 *
Red Hat Enterprise Linux 8 RedHat mozjs52-0:52.9.0-2.el8 *
Red Hat Enterprise Linux 8 RedHat mozjs60-0:60.9.0-4.el8 *
Red Hat Enterprise Linux 8 RedHat mutter-0:3.32.2-34.el8 *
Red Hat Enterprise Linux 8 RedHat nautilus-0:3.28.1-12.el8 *
Red Hat Enterprise Linux 8 RedHat vala-0:0.40.19-1.el8 *
Red Hat Enterprise Linux 8 RedHat vinagre-0:3.22.0-21.el8 *
Gvfs Ubuntu bionic *
Gvfs Ubuntu cosmic *
Gvfs Ubuntu devel *
Gvfs Ubuntu disco *
Gvfs Ubuntu trusty *

Extended Description

This can have security implications when the expected synchronization is in security-critical code, such as recording whether a user is authenticated or modifying important state information that should not be influenced by an outsider. A race condition occurs within concurrent environments, and is effectively a property of a code sequence. Depending on the context, a code sequence may be in the form of a function call, a small number of instructions, a series of program invocations, etc. A race condition violates these properties, which are closely related:

A race condition exists when an “interfering code sequence” can still access the shared resource, violating exclusivity. Programmers may assume that certain code sequences execute too quickly to be affected by an interfering code sequence; when they are not, this violates atomicity. For example, the single “x++” statement may appear atomic at the code layer, but it is actually non-atomic at the instruction layer, since it involves a read (the original value of x), followed by a computation (x+1), followed by a write (save the result to x). The interfering code sequence could be “trusted” or “untrusted.” A trusted interfering code sequence occurs within the product; it cannot be modified by the attacker, and it can only be invoked indirectly. An untrusted interfering code sequence can be authored directly by the attacker, and typically it is external to the vulnerable product.

Potential Mitigations

  • Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring.
  • Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).

References