Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/google-compute-engine

PACKAGE
Advisory Identifier: GHSA-pgpj-83g3-mfr2
Advisory Summary

CVE-2023-49652 is a MODERATE (CVSS 4.3) jenkins google compute engine plugin vulnerability (CWE-862: Missing Authorization) affecting Google compute engine libraries in the Maven ecosystem. The issue involves jenkins google compute engine plugin has incorrect permission checks. Remediation is available by upgrading affected packages to version 4.3.17.1, 4.551.v5a.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/google-compute-engine

5 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/google-compute-engine. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-pgpj-83g3-mfr2 CVE-2023-49652 MODERATE Jenkins Google Compute Engine Plugin has incorrect permission checks
GHSA-345p-pw5q-g98v CVE-2019-16546 MODERATE Jenkins Google Compute Engine Plugin does not verify SSH host keys when connecting agents created by the plugin
GHSA-x24m-wr2f-p3vc CVE-2019-16548 MODERATE Jenkins Google Compute Engine Plugin Cross-Site Request Forgery vulnerability
GHSA-v98h-rv7j-hf6j CVE-2019-16547 MODERATE Jenkins Google Compute Engine Plugin Missing Authorization vulnerability
GHSA-vhxq-9mpv-gj87 CVE-2022-29052 MODERATE Private key stored in plain text by Jenkins Google Compute Engine Plugin

CVE-2023-49652 at a Glance

CVE Identifier CVE-2023-49652
GHSA Identifier GHSA-pgpj-83g3-mfr2
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-862: Missing Authorization
Affected Product Google compute engine
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2023-49652

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

org.jenkins-ci.plugins:google-compute-engine fixed: 4.3.17.1
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>google-compute-engine</artifactId>
    <version>4.3.17.1</version>
</dependency>
org.jenkins-ci.plugins:google-compute-engine fixed: 4.551.v5a
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>google-compute-engine</artifactId>
    <version>4.551.v5a</version>
</dependency>
Verify Direct and Transitive Dependencies

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

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-49652, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

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

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Google compute engine, 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

Jenkins Google Compute Engine Plugin 4.550.vb_327fca_3db_11 and earlier does not correctly perform permission checks in multiple HTTP endpoints. This allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to do the following: - Enumerate system-scoped credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability. - Connect to Google Cloud Platform using attacker-specified credentials IDs obtained through another method, to obtain information about existing projects. Google Compute Engine Plugin 4.551.v5a_4dc98f6962 requires Overall/Administer permission for the affected HTTP endpoints.

CVE-2023-49652 Affected Google compute engine Versions

2 component(s)
Fixed Versions:
4.3.17.14.551.v5a
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:google-compute-engine
Maven
< 4.3.17.1
4.3.17.1
org.jenkins-ci.plugins:google-compute-engine
Maven
≥ 4.5
< 4.551.v5a
4.551.v5a

References

Frequently Asked Questions

What is CVE-2023-49652?
CVE-2023-49652 is a security vulnerability in Google compute engine involving Jenkins Google Compute Engine Plugin has incorrect permission checks under CWE-862: Missing Authorization.
Which Google compute engine versions are affected?
Affected versions include releases prior to 4.3.17.1, 4.551.v5a across affected packages: org.jenkins-ci.plugins:google-compute-engine.
What version fixes CVE-2023-49652?
Upgrading to 4.3.17.1, 4.551.v5a (or the latest patched release for your respective branch) resolves the vulnerability.
Is google-compute-engine affected?
Yes, org.jenkins-ci.plugins:google-compute-engine is affected in releases prior to 4.3.17.1, 4.551.v5a. Upgrade your dependency to 4.3.17.1, 4.551.v5a or later.
What is the CVSS score of CVE-2023-49652?
CVE-2023-49652 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-49652?
CVE-2023-49652 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2023-49652?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.plugins'. 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-pgpj-83g3-mfr2",
  "modified" : "2023-11-29T21:32:16Z",
  "published" : "2023-11-29T15:30:21Z",
  "aliases" : [ "CVE-2023-49652" ],
  "summary" : "Jenkins Google Compute Engine Plugin has incorrect permission checks",
  "details" : "Jenkins Google Compute Engine Plugin 4.550.vb_327fca_3db_11 and earlier does not correctly perform permission checks in multiple HTTP endpoints. This allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to do the following:\n\n- Enumerate system-scoped credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.\n\n- Connect to Google Cloud Platform using attacker-specified credentials IDs obtained through another method, to obtain information about existing projects.\n\nGoogle Compute Engine Plugin 4.551.v5a_4dc98f6962 requires Overall/Administer permission for the affected HTTP endpoints.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:google-compute-engine"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.3.17.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:google-compute-engine"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.5"
      }, {
        "fixed" : "4.551.v5a"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-49652"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2023-11-29/#SECURITY-2835"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2023/11/29/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-29T21:32:16Z",
    "nvd_published_at" : "2023-11-29T14:15:07Z"
  }
}