{
  "id": "CVE-2025-27607",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-27607",
  "published_at": "2025-03-07T16:18:13.789Z",
  "title": "Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency",
  "vendor": "nhairs",
  "product": "python-json-logger",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-829",
  "cpes": [
    "cpe:2.3:a:nhairs:python_json_logger:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "Barsug/msgspec-python313-pre",
      "url": "https://github.com/Barsug/msgspec-python313-pre",
      "created_at": "2025-03-14T11:41:48Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-02-05T13:00:38Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "nhairs",
        "product": "python-json-logger",
        "ranges": [
          "\u003e= 3.2.0, \u003c 3.3.0"
        ],
        "fixed_in": [
          "3.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade python-json-logger to 3.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nhairs/python-json-logger/security/advisories/GHSA-wmxh-pxcx-9w24"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nhairs/python-json-logger/commit/2548e3a2e3cedf6bef3ee7c60c55b7c02d1af11a"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nhairs/python-json-logger/commit/e7761e56edb980cfab0165e32469d5fd017a5d72"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
