GHSA-65pc-76pq-pvf5: Duplicate Advisory Pebble Service Manager's File Pull Vulnerability

MODERATE
CVSS 6.5
Published
Advisory Summary

GHSA-65pc-76pq-pvf5 is a MODERATE (CVSS 6.5) pebble service manager's file pull vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves pebble service manager's file pull api allows access by any user. Remediation is available by upgrading affected packages to version 1.1.1.

GHSA-65pc-76pq-pvf5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-65pc-76pq-pvf5
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-65pc-76pq-pvf5

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/canonical/pebble fixed: 1.1.1
Upgrade github.com/canonical/pebble to 1.1.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/canonical/pebble

How to Check if You Are Affected

To determine whether your application is affected by GHSA-65pc-76pq-pvf5, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for github.com/canonical/pebble

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-4685-2x5r-65pj. This link is maintained to preserve external references. ## Original Description It was discovered that Pebble's 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.

GHSA-65pc-76pq-pvf5 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
1.1.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/canonical/pebble
Go
< 1.1.1
1.1.1

References

Frequently Asked Questions

What is GHSA-65pc-76pq-pvf5?
GHSA-65pc-76pq-pvf5 is a security vulnerability in Duplicate Advisory involving Pebble service manager's file pull API allows access by any user under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 1.1.1 across affected packages: github.com/canonical/pebble.
What version fixes GHSA-65pc-76pq-pvf5?
Upgrading to 1.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/canonical/pebble affected?
Yes, github.com/canonical/pebble is affected in releases prior to 1.1.1. Upgrade your dependency to 1.1.1 or later.
What is the CVSS score of GHSA-65pc-76pq-pvf5?
GHSA-65pc-76pq-pvf5 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with GHSA-65pc-76pq-pvf5?
GHSA-65pc-76pq-pvf5 is classified under General Security Weakness.
How can I check Go dependencies for GHSA-65pc-76pq-pvf5?
Run the dependency tree command: 'inspect dependencies for github.com/canonical/pebble'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-65pc-76pq-pvf5",
  "modified" : "2024-04-05T15:06:16Z",
  "published" : "2024-04-04T15:30:34Z",
  "withdrawn" : "2024-04-05T15:06:16Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Pebble service manager's file pull API allows access by any user",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-4685-2x5r-65pj. This link is maintained to preserve external references.\n\n## Original Description\nIt was discovered that Pebble's 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/canonical/pebble"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/canonical/pebble/security/advisories/GHSA-4685-2x5r-65pj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3250"
  }, {
    "type" : "WEB",
    "url" : "https://www.cve.org/CVERecord?id=CVE-2024-3250"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-05T15:06:16Z",
    "nvd_published_at" : "2024-04-04T15:15:39Z"
  }
}