CVE-2019-3901
published 2019-04-22CVE-2019-3901: A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the…
PriorityP421medium4.7CVSS 3.1
AVLACHPRLUINSUCHINAN
EPSS
0.34%
26.3th percentile
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | linux | < linux 4.6.1-1 (bookworm) | linux 4.6.1-1 (bookworm) |
| linux | linux_kernel | < 4.8 | 4.8 |
| linux | linux_kernel | >= 0 < 4.6.1-1 | 4.6.1-1 |
| linux | linux_kernel | >= 0 < 4.6.1-1 | 4.6.1-1 |
| linux | linux_kernel | >= 0 < 4.6.1-1 | 4.6.1-1 |
| linux | linux_kernel | >= 0 < 4.6.1-1 | 4.6.1-1 |
| netapp | active_iq_unified_manager_for_vmware_vsphere | >= 9.5 | — |
| netapp | storage_replication_adapter_for_clustered_data_ontap_for_vmware_vsphere | >= 7.2 | — |
| netapp | vasa_provider_for_clustered_data_ontap | >= 7.2 | — |
| netapp | virtual_storage_console_for_vmware_vsphere | >= 7.2 | — |
| the_linux_foundation | kernel | — | — |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv3.05.6MEDIUMCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
nvdv2.01.9LOWAV:L/AC:M/Au:N/C:P/I:N/A:N
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2019-3901: linux - A race condition in perf_event_open() allows local attackers to leak sensitive d...
vendor_debian·2019·CVSS 4.7
CVE-2019-3901 [MEDIUM] CVE-2019-3901: linux - A race condition in perf_event_open() allows local attackers to leak sensitive d...
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
Scope: local
bookworm: resolved (fixed in 4.6.1-1)
bullseye: resolved (fixed in 4.6.1-1)
forky: resolved (fixed in 4.6.1-1)
sid: resolved (fixed in 4.6.1-1)
trixie: resolved (fixed in 4.6.1-1)
Red Hat
kernel: perf_event_open() and execve() race in setuid programs allows a data leak
vendor_redhat·2016-04-25·CVSS 4.7
CVE-2019-3901 [MEDIUM] CWE-667 kernel: perf_event_open() and execve() race in setuid programs allows a data leak
kernel: perf_event_open() and execve() race in setuid programs allows a data leak
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in
GHSA
GHSA-7w4w-2hxm-8cc6: A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs
ghsa_unreviewed·2022-05-24
CVE-2019-3901 [MEDIUM] CWE-667 GHSA-7w4w-2hxm-8cc6: A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
OSV
CVE-2019-3901: A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs
osv·2019-04-22·CVSS 4.7
CVE-2019-3901 [MEDIUM] CVE-2019-3901: A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
No detection rules found.
No public exploits indexed.
http://www.securityfocus.com/bid/89937https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901https://lists.debian.org/debian-lts-announce/2019/05/msg00041.htmlhttps://lists.debian.org/debian-lts-announce/2019/05/msg00042.htmlhttps://security.netapp.com/advisory/ntap-20190517-0005/http://www.securityfocus.com/bid/89937https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901https://lists.debian.org/debian-lts-announce/2019/05/msg00041.htmlhttps://lists.debian.org/debian-lts-announce/2019/05/msg00042.htmlhttps://security.netapp.com/advisory/ntap-20190517-0005/
2019-04-22
Published