Improper Input Validation Affecting package, versions *

  • Attack Complexity


  • User Interaction


  • Scope


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-id


  • published

    7 Jan 2022

  • disclosed

    7 Jan 2022

  • credit

    Eviatar Gerzi

How to fix?

A fix was pushed into the master branch but not yet published.

Overview is a package that provides the functions used by the kubectl command line tool under The functions are kept in this package to better support unit testing. The main() method for kubectl is only an entry point and should contain no functionality.

Affected versions of this package are vulnerable to Improper Input Validation. Kubectl does not neutralize escape, meta, or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Event objects.