CVE-2025-24355: Github.com/updatecli/updatecli Updatecli Exposes Maven Credentials Vulnerability

HIGH
Advisory Identifier: GHSA-v34r-vj4r-38j6
CVSS 7.1
CWE-359
Published
Advisory Summary

CVE-2025-24355 is a HIGH (CVSS 7.1) updatecli exposes maven credentials vulnerability (CWE-359: Exposure of Private Personal Information to an Unauthorized Actor) affecting Github.com/updatecli/updatecli libraries in the Go ecosystem. The issue involves updatecli exposes maven credentials in console output. Remediation is available by upgrading affected packages to version 0.93.0.

CVE-2025-24355 at a Glance

CVE Identifier CVE-2025-24355
GHSA Identifier GHSA-v34r-vj4r-38j6
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-359: Exposure of Private Personal Information to an Unauthorized Actor
Affected Product Github.com/updatecli/updatecli
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.1

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

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

How to Fix CVE-2025-24355

To remediate this vulnerability, upgrade all affected Github.com/updatecli/updatecli 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/updatecli/updatecli fixed: 0.93.0
Upgrade github.com/updatecli/updatecli to 0.93.0
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/updatecli/updatecli

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-24355, inspect your project dependencies for Github.com/updatecli/updatecli:

inspect dependencies for github.com/updatecli/updatecli

Analyze the terminal output to locate any version of Github.com/updatecli/updatecli in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.93.0), 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-359: Exposure of Private Personal Information to an Unauthorized Actor, where the product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the implicit consent of the person about whom the information is collected. In Github.com/updatecli/updatecli, 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

### Summary Private maven repository credentials leaked in application logs in case of unsuccessful retrieval operation. ### Details During the execution of an updatecli pipeline which contains a `maven` source configured with basic auth credentials, the credentials are being leaked in the application execution logs in case of failure. Credentials are properly sanitized when the operation is successful but not when for whatever reason there is a failure in the maven repository .e.g. wrong coordinates provided, not existing artifact or version. ### PoC The [documentation](https://www.updatecli.io/docs/plugins/resource/maven/) currently state to provide user credentials as basic auth inside the `repository` field. e.g. ``` sources: default: kind: maven spec: repository: "{{ requiredEnv "MAVEN_USERNAME" }}:{{ requiredEnv "MAVEN_PASS" }}@repo.example.org/releases" groupid: "org.example.company" artifactid: "my-artifact" versionFilter: kind: regex pattern: "^23(\.[0-9]+){1,2}$" ``` Logs are sanitized properly in case of a successful operation: ``` source: source#default ----------------------------------------------------------- Searching for version matching pattern "^23(\\.[0-9]+){1,2}$" ✔ Latest version is 23.4.0 on the Maven repository at https://repo.example.org/releases/org/example/company/my-artifact/maven-metadata.xml ``` but leaks credentials in case the GAV coordinates are wrong (misspelled package name or missing): ``` source: source#default ----------------------------------------------------------- ERROR: ✗ getting latest version: URL "https://REDACTED:REDACTED@repo.example.org/releases/org/example/company/wrong-artifact/maven-metadata.xml" not found or in error ``` ### Impact User credentials/token used to authenticate against a private maven repository can be leaked in clear-text in console or CI logs.

CVE-2025-24355 Affected Github.com/updatecli/updatecli Versions

1 component(s)
Fixed Versions:
0.93.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/updatecli/updatecli
Go
< 0.93.0
0.93.0

References

Frequently Asked Questions

What is CVE-2025-24355?
CVE-2025-24355 is a security vulnerability in Github.com/updatecli/updatecli involving Updatecli exposes Maven credentials in console output under CWE-359: Exposure of Private Personal Information to an Unauthorized Actor.
Which Github.com/updatecli/updatecli versions are affected?
Affected versions include releases prior to 0.93.0 across affected packages: github.com/updatecli/updatecli.
What version fixes CVE-2025-24355?
Upgrading to 0.93.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/updatecli/updatecli affected?
Yes, github.com/updatecli/updatecli is affected in releases prior to 0.93.0. Upgrade your dependency to 0.93.0 or later.
What is the CVSS score of CVE-2025-24355?
CVE-2025-24355 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2025-24355?
CVE-2025-24355 is classified under CWE-359: Exposure of Private Personal Information to an Unauthorized Actor (The product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the implicit consent of the person about whom the information is collected.).
How can I check Go dependencies for CVE-2025-24355?
Run the dependency tree command: 'inspect dependencies for github.com/updatecli/updatecli'. 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-v34r-vj4r-38j6",
  "modified" : "2025-01-24T18:45:21Z",
  "published" : "2025-01-24T18:45:20Z",
  "aliases" : [ "CVE-2025-24355" ],
  "summary" : "Updatecli exposes Maven credentials in console output",
  "details" : "### Summary\n\nPrivate maven repository credentials leaked in application logs in case of unsuccessful retrieval operation.\n\n### Details\n\nDuring the execution of an updatecli pipeline which contains a `maven` source configured with basic auth credentials, the credentials are being leaked in the application execution logs in case of failure.\n\nCredentials are properly sanitized when the operation is successful but not when for whatever reason there is a failure in the maven repository .e.g. wrong coordinates provided, not existing artifact or version.\n\n### PoC\n\nThe [documentation](https://www.updatecli.io/docs/plugins/resource/maven/) currently state to provide user credentials as basic auth inside the `repository` field. e.g.\n\n```\nsources:\n  default:\n    kind: maven\n    spec:\n      repository: \"{{ requiredEnv \"MAVEN_USERNAME\" }}:{{ requiredEnv \"MAVEN_PASS\" }}@repo.example.org/releases\"\n      groupid: \"org.example.company\"\n      artifactid: \"my-artifact\"\n      versionFilter:\n        kind: regex\n        pattern: \"^23(\\.[0-9]+){1,2}$\"\n```\n\nLogs are sanitized properly in case of a successful operation:\n\n```\nsource: source#default\n-----------------------------------------------------------\nSearching for version matching pattern \"^23(\\\\.[0-9]+){1,2}$\"\n✔ Latest version is 23.4.0 on the Maven repository at https://repo.example.org/releases/org/example/company/my-artifact/maven-metadata.xml\n```\n\nbut leaks credentials in case the GAV coordinates are wrong (misspelled package name or missing):\n\n```\nsource: source#default\n-----------------------------------------------------------\nERROR: ✗ getting latest version: URL \"https://REDACTED:REDACTED@repo.example.org/releases/org/example/company/wrong-artifact/maven-metadata.xml\" not found or in error\n```\n\n### Impact\n\nUser credentials/token used to authenticate against a private maven repository can be leaked in clear-text in console or CI logs.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/updatecli/updatecli"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.93.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/updatecli/updatecli/security/advisories/GHSA-v34r-vj4r-38j6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24355"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/updatecli/updatecli/commit/344b28091ffeca5ed32e8d0f9eda542842fcd3fa"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/updatecli/updatecli"
  }, {
    "type" : "WEB",
    "url" : "https://www.updatecli.io/docs/plugins/resource/maven"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-359" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-24T18:45:20Z",
    "nvd_published_at" : "2025-01-24T17:15:16Z"
  }
}