CVE-2024-3250 Pebble service manager's file pull API allows access by any user

Medium 6.5 Published Updated

Unprivileged local users can read arbitrary files with root permissions via the Pebble read-file API when running as root.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-3250?

CVE-2024-3250 is a medium-severity missing authorization vulnerability in Canonical Ltd. Pebble, published on 4 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.

Weakness: CWE-732

Which versions are affected by CVE-2024-3250?

10 open source packages ship an affected version, including github.com/canonical/pebble and pebble. It affects 1 product.

PackageAffectedFixed in
github.com/canonical/pebble GoAll versions1.1.1, 1.4.2, 1.7.3, 1.10.2
github.com/canonical/pebble GoAll versions1.1.1
github.com/canonical/pebble GoAll versions1.1.1
github.com/canonical/pebble GoFrom 1.2.01.4.2
github.com/canonical/pebble GoFrom 1.2.01.4.2
github.com/canonical/pebble GoFrom 1.5.01.7.3
4 more packages
github.com/canonical/pebble GoFrom 1.5.01.7.3
github.com/canonical/pebble GoFrom 1.8.01.10.2
github.com/canonical/pebble GoFrom 1.8.01.10.2
pebble BitnamiAll versions1.4.1, 1.7.3, 1.10.2

Products include Canonical Pebble.

How do I fix CVE-2024-3250?

Upgrade github.com/canonical/pebble to a fixed version for your release line: 1.1.1, 1.4.2, 1.7.3 or 1.10.2.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-3250 being exploited?

There is no known exploitation of CVE-2024-3250 in the wild and no public exploit code.

Sources

Also known as BIT-pebble-2024-3250, GHSA-4685-2x5r-65pj, GO-2024-2692.

Is CVE-2024-3250 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free