GHSA-65pc-76pq-pvf5: Duplicate Advisory: Pebble service manager's file pull API allows access by any user
6.5
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
4/4/2024
Updated
4/5/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/canonical/pebble | go | < 1.1.1 | 1.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability centers around Pebble's file read API endpoint (GET /v1/files?action=read) and its corresponding CLI command. Analysis of advisory details shows:
- The core issue was missing authorization checks in the API handler (serveRead) that should have restricted access to admin users
- The cmdPull command directly interacts with this vulnerable API
- Security patches added user authorization validation in these components
- Runtime exploitation would show these functions in call stacks when unprivileged users access protected files
- Function names follow Go's package structure conventions observed in Pebble's codebase