Privilege Escalation Affecting github.com/snapcore/snapd/interfaces/builtin package, versions <2.57.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.04% (11th 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-6156671
  • published 14 Jan 2024
  • disclosed 2 Dec 2022
  • credit Qualys TRU

How to fix?

Upgrade github.com/snapcore/snapd/interfaces/builtin to version 2.57.6 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 Privilege Escalation in snap-confine that allows low-privileged users to obtain root privileges by forcing a malicious mount. Attackers who have compromised another system process such as multipathd can abuse the rename() operation's use of the shared /tmp directory when initializing a mount to achieve root privileges.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

7 high