CVE-2022-0847

high

Description

A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2060795

https://dirtypipe.cm4all.com/

http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html

http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html

http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html

https://www.suse.com/support/kb/doc/?id=000020603

https://security.netapp.com/advisory/ntap-20220325-0005/

https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf

https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015

Details

Source: MITRE

Published: 2022-03-10

Updated: 2022-08-10

Type: CWE-665

Risk Information

CVSS v2

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3

Base Score: 7.8

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

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH