{"id":"CVE-2025-27607","state":"PUBLISHED","title":"Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency","description":"Python JSON Logger is a JSON Formatter for Python Logging. Between 30 December 2024 and 4 March 2025 Python JSON Logger was vulnerable to RCE through a missing dependency. This occurred because msgspec-python313-pre was deleted by the owner leaving the name open to being claimed by a third party. If the package was claimed, it would allow them RCE on any Python JSON Logger user who installed the development dependencies on Python 3.13 (e.g. pip install python-json-logger[dev]). This issue has been resolved with 3.3.0.","publishedAt":"2025-03-07T16:18:13.789Z","updatedAt":"2025-03-07T17:50:28.395Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nhairs python-json-logger"],"affected":[{"vendor":"nhairs","product":"python-json-logger","versions":[{"version":">= 3.2.0, < 3.3.0","status":"affected"}]}],"references":["https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24","https://github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a","https://github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72"],"weaknesses":["CWE-829"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/27xxx/CVE-2025-27607.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-27607","state":"PUBLISHED","datePublished":"2025-03-07T16:18:13.789Z","dateUpdated":"2025-03-07T17:50:28.395Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-03-03T15:10:34.079Z"},"containers":{"cna":{"title":"Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency","descriptions":[{"lang":"en","value":"Python JSON Logger is a JSON Formatter for Python Logging. Between 30 December 2024 and 4 March 2025 Python JSON Logger was vulnerable to RCE through a missing dependency. This occurred because msgspec-python313-pre was deleted by the owner leaving the name open to being claimed by a third party. If the package was claimed, it would allow them RCE on any Python JSON Logger user who installed the development dependencies on Python 3.13 (e.g. pip install python-json-logger[dev]). This issue has been resolved with 3.3.0."}],"affected":[{"vendor":"nhairs","product":"python-json-logger","versions":[{"version":">= 3.2.0, < 3.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24","name":"https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a","name":"https://github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a","tags":["x_refsource_MISC"]},{"url":"https://github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72","name":"https://github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-03-07T16:18:13.789Z"},"source":{"advisory":"GHSA-wmxh-pxcx-9w24","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-07T17:50:10.208993Z","id":"CVE-2025-27607","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-07T17:50:28.395Z"}}]}}}