Incorrect Default Permissions Affecting github.com/containers/buildah/chroot package, versions <1.25.0


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (49th 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-GOLANG-GITHUBCOMCONTAINERSBUILDAHCHROOT-2440697
  • published5 Apr 2022
  • disclosed5 Apr 2022
  • creditAndrew G. Morgan

Introduced: 5 Apr 2022

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

How to fix?

Upgrade github.com/containers/buildah/chroot to version 1.25.0 or higher.

Overview

github.com/containers/buildah/chroot is an a tool that facilitates building OCI images.

Affected versions of this package are vulnerable to Incorrect Default Permissions where containers were created with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve.

CVSS Scores

version 3.1