Incorrect Default Permissions Affecting golang-github-containers-buildah package, versions <1.28.0+ds1-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-GOLANGGITHUBCONTAINERSBUILDAH-2439889
  • published2 Apr 2022
  • disclosed4 Apr 2022

Introduced: 2 Apr 2022

CVE-2022-27651  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade Debian:12 golang-github-containers-buildah to version 1.28.0+ds1-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-containers-buildah package and not the golang-github-containers-buildah package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Scores

version 3.1