{"id":"GHSA-cvp7-c586-cmf4","summary":"Withdrawn: Code Injection in loguru","details":"# Withdrawn\n\nThis advisory has been withdrawn after the maintainers of loguru noted this issue is not a security vulnerability and the CVE has been revoked. We have [stopped](https://github.com/Delgan/loguru/issues/563#issuecomment-1025223732) Dependabot alerts regarding this issue.\n\n## Original Description\n\nIn versions of loguru up to and including 0.5.3 a lack of sanitization on log serialization can lead to arbitrary code execution. The maintainer disputes the issue, but has altered behavior of the library in commit 4b0070a4f30cbf6d5e12e6274b242b62ea11c81b. See https://github.com/Delgan/loguru/issues/563 for further discussion of the issue. The function in question is intended for internal use only, but is not restricted. This has been patched in version 0.6.0.","aliases":["CVE-2022-0329"],"modified":"2026-09-10T03:49:10.788905834Z","published":"2022-01-28T22:01:45Z","withdrawn":"2022-02-01T15:17:33Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2022-01-25T23:33:20Z","nvd_published_at":"2022-01-21T11:15:00Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0329"},{"type":"WEB","url":"https://github.com/Delgan/loguru/issues/563"},{"type":"WEB","url":"https://github.com/delgan/loguru/commit/4b0070a4f30cbf6d5e12e6274b242b62ea11c81b"},{"type":"PACKAGE","url":"https://github.com/delgan/loguru"},{"type":"WEB","url":"https://huntr.dev/bounties/1-pypi-loguru"},{"type":"WEB","url":"https://tomforb.es/cve-2022-0329-and-the-problems-with-automated-vulnerability-management"}],"affected":[{"package":{"name":"loguru","ecosystem":"PyPI","purl":"pkg:pypi/loguru"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}],"versions":["0.1.0","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-cvp7-c586-cmf4/GHSA-cvp7-c586-cmf4.json","last_known_affected_version_range":"\u003c= 0.5.3"}}],"schema_version":"1.9.0"}