{"id":"CVE-2024-9606","state":"PUBLISHED","title":"Improper Output Neutralization for Logs in berriai/litellm","description":"In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerability where the API key masking code only masks the first 5 characters of the key. This results in the leakage of almost the entire API key in the logs, exposing a significant amount of the secret key. The issue affects version v1.44.9.","publishedAt":"2025-03-20T10:09:24.180Z","updatedAt":"2025-03-20T18:55:27.073Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["berriai berriai/litellm"],"affected":[{"vendor":"berriai","product":"berriai/litellm","versions":[{"version":"unspecified","status":"affected","lessThan":"1.44.12","versionType":"custom"}]}],"references":["https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a","https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a"],"weaknesses":["CWE-117"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/9xxx/CVE-2024-9606.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-9606","state":"PUBLISHED","datePublished":"2025-03-20T10:09:24.180Z","dateUpdated":"2025-03-20T18:55:27.073Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-10-07T21:32:43.479Z"},"containers":{"cna":{"title":"Improper Output Neutralization for Logs in berriai/litellm","descriptions":[{"lang":"en","value":"In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerability where the API key masking code only masks the first 5 characters of the key. This results in the leakage of almost the entire API key in the logs, exposing a significant amount of the secret key. The issue affects version v1.44.9."}],"affected":[{"vendor":"berriai","product":"berriai/litellm","versions":[{"version":"unspecified","status":"affected","lessThan":"1.44.12","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a"},{"url":"https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-117","type":"CWE","lang":"en","description":"CWE-117 Improper Output Neutralization for Logs"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-03-20T10:09:24.180Z"},"source":{"advisory":"4a03796f-a8d4-4293-84ef-d3959456223a","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-20T17:53:55.986774Z","id":"CVE-2024-9606","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-20T18:55:27.073Z"}}]}}}