{"id":"CVE-2025-48374","aliases":["CVE-2025-48374","GHSA-c37v-3c8w-crq8","GO-2025-3705"],"related":[],"kind":"vulnerability","state":"published","title":"zot logs secrets","summary":"zot is ancontainer image/artifact registry based on the Open Container Initiative Distribution Specification. Prior to version 2.1.3 (corresponding to pseudoversion 1.4.4-0.20250522160828-8a99a3ed231f), when using Keycloak as an oidc provider, the clientsecret gets printed into the container stdout logs for an example at container startup. Version 2.1.3 (corresponding to pseudoversion 1.4.4-0.20250522160828-8a99a3ed231f) fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"zot is ancontainer image/artifact registry based on the Open Container Initiative Distribution Specification. Prior to version 2.1.3 (corresponding to pseudoversion 1.4.4-0.20250522160828-8a99a3ed231f), when using Keycloak as an oidc provider, the clientsecret gets printed into the container stdout logs for an example at container startup. Version 2.1.3 (corresponding to pseudoversion 1.4.4-0.20250522160828-8a99a3ed231f) fixes the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nWhen using Keycloak as an oidc provider, the clientsecret gets printed into the container stdout logs for an example at container startup.\n\n### Details\nContainer Image (15.04.2025): ghcr.io/project-zot/zot-linux-amd64:latest\nHere is an example how the configuration can look which causes the above stated problem:\n\n`    http:\n      address: \"0.0.0.0\"\n      port: 5000\n      externalUrl: \"https://zot.example.com\"\n      auth: {\n        failDelay: 1,\n        openid: {\n          providers: {\n            oidc: {\n              name: \"Keycloak\",\n              clientid: \"zot-client-id\",\n              clientsecret: fsdfkmmiwljasdklfsjaskldjfkljewijrf234i52k3j45l,\n              keypath: \"\",\n              issuer: \"https://keycloak.example.com/realms/example\",\n              scopes: [\"openid\"]\n            }\n          }\n        }\n      }\n`\n\n### PoC\nSet up a blank new zot k8s deployment with the code snippet above.\n\n### Impact\nexposure of secrets, on configuring a oidc provider","format":"markdown","source":"ghsa"},{"lang":"en","text":"zot logs secrets in zotregistry.dev/zot","format":"markdown","source":"go"},{"lang":"es","text":"zot es un registro de imágenes/artefactos de contenedor basado en la Especificación de Distribución de la Iniciativa Abierta de Contenedores. En versiones anteriores a la 2.1.3 (correspondiente a la pseudoversión 1.4.4-0.20250522160828-8a99a3ed231f), al usar Keycloak como proveedor de oidc, el secreto del cliente se imprime en los registros de salida estándar del contenedor, por ejemplo, al iniciarlo. La versión 2.1.3 (correspondiente a la pseudoversión 1.4.4-0.20250522160828-8a99a3ed231f) corrige este problema.","source":"nvd"}],"published":"2025-05-22T20:33:39.000Z","modified":"2026-06-17T09:29:34.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"< 1.4.4-0.20250522160828-8a99a3ed231f","status":"affected"}],"vendor":"project-zot","product":"zot","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.4-0.20250522160828-8a99a3ed231f"}],"ecosystem":"Go","package":"zotregistry.dev/zot","purl":"pkg:golang/zotregistry.dev/zot","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.4-0.20250522160828-8a99a3ed231f"}],"ecosystem":"Go","package":"zotregistry.dev/zot","purl":"pkg:golang/zotregistry.dev/zot","source":"go"}],"references":[{"url":"https://github.com/project-zot/zot/security/advisories/GHSA-c37v-3c8w-crq8","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/project-zot/zot/commit/8a99a3ed231fdcd8467e986182b4705342b6a15e","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48374","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/project-zot/zot","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3705","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-23T14:29:24.291Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48374","url":"https://www.cve.org/CVERecord?id=CVE-2025-48374","licence":"CVE Terms of Use","modified":"2025-05-23T14:33:24.239Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c37v-3c8w-crq8","url":"https://github.com/advisories/GHSA-c37v-3c8w-crq8","licence":"CC-BY-4.0","modified":"2025-05-28T19:47:48.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3705","url":"https://pkg.go.dev/vuln/GO-2025-3705","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:37.403Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48374","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48374","licence":"Public domain","modified":"2026-06-17T09:29:34.130Z"}],"updatedAt":"2026-11-25T22:58:58.404Z","epss":{"score":0.00181,"percentile":0.08003,"date":"2026-12-01T12:00:22.000Z"}}