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

    Threat Intelligence

    EPSS
    0.34% (72nd 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 ID SNYK-GOLANG-GITHUBCOMHPCNGSINGULARITYINTERNALPKGBUILD-1296547
  • published 25 May 2021
  • disclosed 24 May 2021
  • credit David Trudgian, Adam Hughes

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
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

8.8 high