Incorrect Permission Assignment for Critical Resource Affecting github.com/snapcore/snapd/interfaces/builtin package, versions <2.62.0


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (22nd 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-GITHUBCOMSNAPCORESNAPDINTERFACESBUILTIN-7569811
  • published 26 Jul 2024
  • disclosed 25 Jul 2024
  • credit McPhail

How to fix?

Upgrade github.com/snapcore/snapd/interfaces/builtin to version 2.62.0 or higher.

Overview

github.com/snapcore/snapd/interfaces/builtin is a tool enabling systems to work with .snap files

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to the improper restriction of writes to the $HOME/bin path. An attacker can execute arbitrary scripts outside of the expected snap sandbox, potentially allowing them to escape confinement by convincing a user to install a malicious snap that utilizes the 'home' plug.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
2.4 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    Low
  • Availability (SA)
    Low