Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting zenml package, versions [,0.57.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncontrolled Resource Consumption ('Resource Exhaustion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ZENML-7361777
  • published24 Jun 2024
  • disclosed24 Jun 2024
  • creditEvgenii Shein

Introduced: 24 Jun 2024

CVE-2024-4460  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade zenml to version 0.57.1 or higher.

Overview

zenml is a ZenML: Write production-ready ML code.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to improper handling of line feed (\n) characters in component names. An attacker can degrade the user experience and potentially render the ZenML Dashboard unusable by adding a component through the API endpoint api/v1/workspaces/default/components with a name containing a \n character. This results in uncontrolled resource consumption and prevents users from adding new components in certain categories and registering new stacks through the UI.

References

CVSS Scores

version 4.0
version 3.1