{"id":"CVE-2019-3901","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2019-04-22T15:22:15.000Z","updatedAt":"2024-08-04T19:26:26.688Z","severity":{"score":5.6,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["The Linux Foundation kernel"],"affected":[{"vendor":"The Linux Foundation","product":"kernel","versions":[{"version":"older then 4.8","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/89937","https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html","https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html","https://security.netapp.com/advisory/ntap-20190517-0005/","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901"],"weaknesses":["CWE-667"],"ingestedAt":"2026-10-29T19:45:59.128Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/3xxx/CVE-2019-3901.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-3901","state":"PUBLISHED","datePublished":"2019-04-22T15:22:15.000Z","dateUpdated":"2024-08-04T19:26:26.688Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2019-01-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"The Linux Foundation","product":"kernel","versions":[{"version":"older then 4.8","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/89937","name":"89937","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html","name":"[debian-lts-announce] 20190528 [SECURITY] [DLA 1799-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html","name":"[debian-lts-announce] 20190528 [SECURITY] [DLA 1799-2] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20190517-0005/","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-667","description":"CWE-667","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2020-12-04T18:00:59.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/89937","name":"89937","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html","name":"[debian-lts-announce] 20190528 [SECURITY] [DLA 1799-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html","name":"[debian-lts-announce] 20190528 [SECURITY] [DLA 1799-2] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20190517-0005/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:26:26.688Z"}}]}}}