Insecure Permissions Affecting github.com/hpcng/singularity/internal/pkg/build package, versions <3.6.3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.34% (73rd 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 IDSNYK-GOLANG-GITHUBCOMHPCNGSINGULARITYINTERNALPKGBUILD-1296547
  • published25 May 2021
  • disclosed24 May 2021
  • creditDavid Trudgian, Adam Hughes

Introduced: 24 May 2021

CVE-2020-25040  (opens in a new tab)
CWE-277  (opens in a new tab)

How to fix?

Upgrade github.com/hpcng/singularity/internal/pkg/build to version 3.6.3 or higher.

Overview

github.com/hpcng/singularity/internal/pkg/build is an application containers for Linux.

Affected versions of this package are vulnerable to Insecure Permissions. When a command that results in a container build operation is executed, it is possible for a user with access to the system to read the contents of the image during the build. Additionally, if the image contains a world-writable file or directory, it is possible for a user to inject arbitrary content into the running build, which in certain circumstances may enable arbitrary code execution during the build and/or when the built container is run.

References

CVSS Scores

version 3.1