CVE-2022-0185

Source
https://cve.org/CVERecord?id=CVE-2022-0185
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0185.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0185
Aliases
Downstream
Related
Published
2022-02-11T18:15:10Z
Modified
2026-04-16T00:02:48Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0185.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "5.1"
            },
            {
                "fixed":  "5.4.173"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "5.5"
            },
            {
                "fixed":  "5.10.93"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "5.11"
            },
            {
                "fixed":  "5.15.16"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "5.16"
            },
            {
                "fixed":  "5.16.2"
            }
        ]
    }
]