{ "schema_version": "1.4.0", "id": "GHSA-g5pg-73fc-hjwq", "modified": "2025-03-20T21:02:06Z", "published": "2025-03-20T12:32:51Z", "aliases": [ "CVE-2024-9606" ], "summary": "LiteLLM Reveals Portion of API Key via a Logging File", "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "litellm" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.44.12" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9606" }, { "type": "WEB", "url": "https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a" }, { "type": "PACKAGE", "url": "https://github.com/BerriAI/litellm" }, { "type": "WEB", "url": "https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a" } ], "database_specific": { "cwe_ids": [ "CWE-117" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-03-20T21:02:06Z", "nvd_published_at": "2025-03-20T10:15:49Z" } }