CVE-2022-27650

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-27650
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-27650.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-27650
Downstream
Related
Published
2022-04-04T20:15:10Z
Modified
2025-09-19T13:50:00.173880Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in crun where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (Docker Engine) where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs.

References

Affected packages

Git / github.com/containers/crun

Affected ranges

Type
GIT
Repo
https://github.com/containers/crun
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.10
0.10.1
0.10.2
0.10.3
0.10.4
0.10.5
0.10.6
0.11
0.12
0.12.1
0.12.2
0.12.2.1
0.13
0.14
0.14.1
0.15
0.15.1
0.16
0.17
0.18
0.19
0.19.1
0.20
0.20.1
0.21
0.4
0.5
0.6
0.7
0.8
0.9
0.9.1

1.*

1.0
1.1
1.2
1.3
1.4
1.4.1
1.4.2

v0.*

v0.2
v0.3

Database specific

{
    "vanir_signatures": [
        {
            "signature_type": "Function",
            "deprecated": false,
            "digest": {
                "function_hash": "326576470114948350835089168532588116583",
                "length": 2525.0
            },
            "source": "https://github.com/containers/crun/commit/1aeeed2e4fdeffb4875c0d0b439915894594c8c6",
            "id": "CVE-2022-27650-1369fec2",
            "target": {
                "file": "src/exec.c",
                "function": "crun_command_exec"
            },
            "signature_version": "v1"
        },
        {
            "signature_type": "Line",
            "deprecated": false,
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "191965596629947503200297707270879748438",
                    "277783579743923417092443488377794187094",
                    "59215860372849921584264298802818030309",
                    "24826462537997860227952450397939357386",
                    "223256907618760933842021811521439593391"
                ]
            },
            "source": "https://github.com/containers/crun/commit/1aeeed2e4fdeffb4875c0d0b439915894594c8c6",
            "id": "CVE-2022-27650-4606fc3a",
            "target": {
                "file": "src/exec.c"
            },
            "signature_version": "v1"
        }
    ]
}