CVE-2024-53351: Github.com/pipe cd/pipecd PipeCD Vulnerable To Privilege Escalation Vulnerability

HIGH
Advisory Identifier: GHSA-4jhw-c53w-w5r7
CVSS 9.8
CWE-284 CWE-732 CWE-276
Published
Advisory Summary

CVE-2024-53351 is a HIGH (CVSS 9.8) pipecd vulnerable to privilege escalation vulnerability (CWE-284: Improper Access Control) affecting Github.com/pipe cd/pipecd libraries in the Go ecosystem. The issue involves pipecd vulnerable to privilege escalation. Remediation is available in the latest vendor maintenance releases.

CVE-2024-53351 at a Glance

CVE Identifier CVE-2024-53351
GHSA Identifier GHSA-4jhw-c53w-w5r7
Severity HIGH
CVSS v3.1 Base Score 9.8
CWE Classification CWE-284: Improper Access Control
Affected Product Github.com/pipe cd/pipecd
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2024-53351

To remediate this vulnerability, upgrade all affected Github.com/pipe cd/pipecd 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/pipe-cd/pipecd fixed: Latest secure release
Upgrade github.com/pipe-cd/pipecd to Latest secure release
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/pipe-cd/pipecd

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-53351, inspect your project dependencies for Github.com/pipe cd/pipecd:

inspect dependencies for github.com/pipe-cd/pipecd

Analyze the terminal output to locate any version of Github.com/pipe cd/pipecd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/pipe cd/pipecd, 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

Insecure permissions in pipecd v0.49 allow attackers to gain access to the service account's token, leading to escalation of privileges.

CVE-2024-53351 Affected Github.com/pipe cd/pipecd Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pipe-cd/pipecd
Go
≤ 0.49.0

References

Frequently Asked Questions

What is CVE-2024-53351?
CVE-2024-53351 is a security vulnerability in Github.com/pipe cd/pipecd involving PipeCD Vulnerable to Privilege Escalation under CWE-284: Improper Access Control.
Which Github.com/pipe cd/pipecd versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/pipe-cd/pipecd.
What version fixes CVE-2024-53351?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pipe-cd/pipecd affected?
Yes, github.com/pipe-cd/pipecd is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-53351?
CVE-2024-53351 has a CVSS v3.1 base score of 9.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2024-53351?
CVE-2024-53351 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2024-53351?
Run the dependency tree command: 'inspect dependencies for github.com/pipe-cd/pipecd'. 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-4jhw-c53w-w5r7",
  "modified" : "2025-03-24T16:04:17Z",
  "published" : "2025-03-21T18:31:35Z",
  "aliases" : [ "CVE-2024-53351" ],
  "summary" : "PipeCD Vulnerable to Privilege Escalation",
  "details" : "Insecure permissions in pipecd v0.49 allow attackers to gain access to the service account's token, leading to escalation of privileges.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pipe-cd/pipecd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.49.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-53351"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/HouqiyuA/948a808b8bd48b17b37a4d5e0b6fb005"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pipe-cd/pipecd"
  }, {
    "type" : "WEB",
    "url" : "https://pipecd.dev"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-276", "CWE-284", "CWE-732" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-21T22:03:03Z",
    "nvd_published_at" : "2025-03-21T17:15:38Z"
  }
}