CVE-2022-0185
Public on 2022-01-24
Modified on 2023-01-18
Description
A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Kernel-5.10 Extra | kernel | 2022-01-26 | ALAS2KERNEL-5.10-2022-009 | Fixed |
Amazon Linux 2 - Kernel-5.4 Extra | kernel | 2022-01-26 | ALAS2KERNEL-5.4-2022-021 | Fixed |
Amazon Linux 2023 | kernel | 2023-02-17 | ALAS2023-2023-070 | Fixed |
Amazon Linux 2 - Livepatch Extra | kernel-livepatch-5.10.82-83.359 | 2022-03-07 | ALAS2LIVEPATCH-2022-076 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | CVSSv2 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
NVD | CVSSv3 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |