Security mailing lists by PureSourceCode

CVE-2022-27651

MEDIUM 6.8CVSS 3.1

Non-empty default inheritable capabilities for linux container in Buildah

A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.

Published
4 Apr 2022
Last modified
10 Sep 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-276
Also known as
GHSA-c3g4-w6cv-6v7hGO-2022-0417
Sources
NVDJSONOSV GHSA-c3g4-w6cv-6v7hJSONOSV GO-2022-0417JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.9 AV:N/AC:M/Au:S/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD buildah_project buildah
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
< 1.25.0 1.25.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
OSV Go github.com/containers/buildah < 1.25.0 1.25.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Apr 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Apr 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.