Improper Access Control Affecting github.com/canonical/pebble/internals/daemon package, versions <1.1.1>=1.4.0 <1.4.2>=1.7.0 <1.7.4>=1.10.0 <1.10.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCANONICALPEBBLEINTERNALSDAEMON-6579645
  • published7 Apr 2024
  • disclosed4 Apr 2024
  • credithpidcock, benhoyt

Introduced: 4 Apr 2024

CVE-2024-3250  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/canonical/pebble/internals/daemon to version 1.1.1, 1.4.2, 1.7.4, 1.10.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to the read-file API and the associated pebble pull command. An attacker can read files with root-equivalent permissions by accessing the file pull API as an unprivileged local user. This is only exploitable if Pebble is running as root.

CVSS Base Scores

version 3.1