CVE-2024-3250 Pebble service manager's file pull API allows access by any user
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/canonical/pebble Go | All versions | 1.1.1, 1.4.2, 1.7.3, 1.10.2 |
github.com/canonical/pebble Go | All versions | 1.1.1 |
github.com/canonical/pebble Go | All versions | 1.1.1 |
github.com/canonical/pebble Go | From 1.2.0 | 1.4.2 |
github.com/canonical/pebble Go | From 1.2.0 | 1.4.2 |
github.com/canonical/pebble Go | From 1.5.0 | 1.7.3 |
4 more packages
github.com/canonical/pebble Go | From 1.5.0 | 1.7.3 |
github.com/canonical/pebble Go | From 1.8.0 | 1.10.2 |
github.com/canonical/pebble Go | From 1.8.0 | 1.10.2 |
pebble Bitnami | All versions | 1.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.