Skip to content
MediumVulnerability

GHSA-7gjr-hcc3-xfr4: Improper line feed handling in zenml

Published
Record updated
View JSON
Affected
  • zenml < 0.57.1
Fixed in
0.57.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

A denial of service flaw in zenml-io/zenml version 0.56.3 stems from improper handling of line feed (`\n`) characters in component names. A low-privileged user who adds a component via the `api/v1/workspaces/default/components` endpoint with a `\n` in the name triggers uncontrolled resource consumption, which blocks adding components in some categories (such as 'Image Builder') and registering stacks through the UI, and can make the ZenML Dashboard unusable. The Web UI is not affected because it escapes `\n` characters.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.