Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zenml
  4. ›
  5. CVE-2024-4460

CVE-2024-4460: Improper line feed handling in zenml

June 24, 2024

A denial of service (DoS) vulnerability exists in zenml-io/zenml version 0.56.3 due to improper handling of line feed (\n) characters in component names. When a low-privileged user adds a component through the API endpoint api/v1/workspaces/default/components with a name containing a \n character, it leads to uncontrolled resource consumption. This vulnerability results in the inability of users to add new components in certain categories (e.g., ‘Image Builder’) and to register new stacks through the UI, thereby degrading the user experience and potentially rendering the ZenML Dashboard unusable. The issue does not affect component addition through the Web UI, as \n characters are properly escaped in that context. The vulnerability was tested on ZenML running in Docker, and it was observed in both Firefox and Chrome browsers.

References

  • github.com/advisories/GHSA-7gjr-hcc3-xfr4
  • github.com/zenml-io/zenml
  • github.com/zenml-io/zenml/commit/164cc09032060bbfc17e9dbd62c13efd5ff5771b
  • huntr.com/bounties/a387c935-b970-44d7-bddc-71c1c90aa2de
  • nvd.nist.gov/vuln/detail/CVE-2024-4460

Code Behaviors & Features

Detect and mitigate CVE-2024-4460 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.57.1

Fixed versions

  • 0.57.1

Solution

Upgrade to version 0.57.1 or above.

Impact 4.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/zenml/CVE-2024-4460.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.