{"id":"CVE-2025-24355","aliases":["CVE-2025-24355","GHSA-v34r-vj4r-38j6","GO-2025-3419"],"related":[],"kind":"vulnerability","state":"published","title":"Updatecli may expose Maven credentials in console output","summary":"Updatecli is a tool used to apply file update strategies. Prior to version 0.93.0, private maven repository credentials may be leaked in application logs in case of unsuccessful retrieval operation. 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. Version 0.93.0 contains a patch for the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Updatecli is a tool used to apply file update strategies. Prior to version 0.93.0, private maven repository credentials may be leaked in application logs in case of unsuccessful retrieval operation. 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. Version 0.93.0 contains a patch for the issue.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Updatecli exposes Maven credentials in console output in github.com/updatecli/updatecli","format":"markdown","source":"go"},{"lang":"es","text":"Updatecli es una herramienta que se utiliza para aplicar estrategias de actualización de archivos. Antes de la versión 0.93.0, las credenciales del repositorio maven privado podían filtrarse en los registros de la aplicación en caso de una operación de recuperación fallida. Durante la ejecución de una canalización de updatecli que contiene una fuente `maven` configurada con credenciales de autenticación básicas, las credenciales se filtran en los registros de ejecución de la aplicación en caso de falla. Las credenciales se desinfectan correctamente cuando la operación es exitosa, pero no cuando, por cualquier motivo, hay una falla en el repositorio maven, por ejemplo, coordenadas incorrectas proporcionadas, artefacto o versión no existentes. La versión 0.93.0 contiene un parche para el problema.","source":"nvd"}],"published":"2025-01-24T16:48:17.723Z","modified":"2026-06-17T08:58:37.550Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-359"],"affected":[{"ranges":[{"version":"< 0.93.0","status":"affected"}],"vendor":"updatecli","product":"updatecli","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.93.0"}],"ecosystem":"Go","package":"github.com/updatecli/updatecli","purl":"pkg:golang/github.com/updatecli/updatecli","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.93.0"}],"ecosystem":"Go","package":"github.com/updatecli/updatecli","purl":"pkg:golang/github.com/updatecli/updatecli","source":"go"}],"references":[{"url":"https://github.com/updatecli/updatecli/security/advisories/GHSA-v34r-vj4r-38j6","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/updatecli/updatecli/commit/344b28091ffeca5ed32e8d0f9eda542842fcd3fa","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24355","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/updatecli/updatecli","tags":["package"],"sources":["ghsa"]},{"url":"https://www.updatecli.io/docs/plugins/resource/maven","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-01-24T17:38:41.823Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24355","url":"https://www.cve.org/CVERecord?id=CVE-2025-24355","licence":"CVE Terms of Use","modified":"2025-02-12T20:01:18.920Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v34r-vj4r-38j6","url":"https://github.com/advisories/GHSA-v34r-vj4r-38j6","licence":"CC-BY-4.0","modified":"2025-01-28T15:41:50.960Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3419","url":"https://pkg.go.dev/vuln/GO-2025-3419","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:13.442Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24355","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24355","licence":"Public domain","modified":"2026-06-17T08:58:37.550Z"}],"updatedAt":"2026-11-25T22:58:53.564Z","epss":{"score":0.00223,"percentile":0.13838,"date":"2026-12-01T12:00:22.000Z"}}