Lucene search

K
redhatcveRedhat.comRH:CVE-2022-30594
HistoryMay 13, 2022 - 12:41 a.m.

CVE-2022-30594

2022-05-1300:41:14
redhat.com
access.redhat.com
90
linux kernel
ptrace_seize
pt_suspend_seccomp
seccomp
selinux
sysctl

CVSS2

4.4

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:M/Au:N/C:P/I:P/A:P

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0.001

Percentile

44.2%

A flaw was found in the Linux kernel. The PTRACE_SEIZE code path allows attackers to bypass intended restrictions on setting the PT_SUSPEND_SECCOMP flag, possibly disabling seccomp.

Mitigation

If ptrace is not required, ptrace can be disabled in multiple ways.

1. SELinux policy.

setsebool -P deny_ptrace on

2. Kernel sysctl.

sysctl -w kernel.yama.ptrace_scope=3

Or to make persistent , create

/etc/sysctl.d/99-yama-ptrace_scope.conf

kernel.yama.ptrace_scope=3

If you need further assistance, see the KCS article <https://access.redhat.com/solutions/41278&gt; or contact Red Hat Global Support Services.

CVSS2

4.4

Attack Vector

LOCAL

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:M/Au:N/C:P/I:P/A:P

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0.001

Percentile

44.2%