{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2022-05-22"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d"
            }
          ],
          "repo": "https://github.com/kbase/metrics",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d"
            }
          ],
          "repo": "https://github.com/kbase/metrics",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A vulnerability was found in KBase Metrics. It has been classified as critical. This affects the function upload_user_data of the file source/daily_cron_jobs/methods_upload_user_stats.py. The manipulation leads to sql injection. The patch is named 959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-217059.",
  "id": "CVE-2022-4860",
  "modified": "2026-04-01T23:10:18.813209640Z",
  "published": "2022-12-30T12:15:09.583Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.217059"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.217059"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kbase/metrics/commit/959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kbase/metrics/pull/77"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}