Cli-table2 is a command-line tool designed for creating visually appealing Unicode tables, building upon the foundation of the original cli-table package. Both version 0.1.0 and its predecessor, 0.0.1, share a common goal: simplifying the presentation of data in a tabular format within terminal environments. They both list colors and lodash as dependencies, ensuring that developers can easily style their tables and leverage utility functions for common data manipulations. The development dependencies also remain consistent across both versions, signaling a stable testing and build environment utilizing tools like chai, sinon, gulp, and coveralls for test assertions, mocking, running tasks, and code coverage reporting, respectively.
The key distinction between the 0.1.0 and 0.0.1 releases lies primarily in their release dates. Version 0.1.0 was published shortly after 0.0.1, suggesting a minor update or bug fix was implemented. The difference in release time may imply enhancements or fixes introduced in the newer version. For developers, this points to the importance of using 0.1.0, potentially offering a more polished and reliable experience. Both versions are licensed under the MIT license and the author is James Talmage which allows developers to freely use, modify, and distribute the package. The tool helps developers format data in a well structured table helping to present data and results in a more readable format within command-line interfaces.
All the vulnerabilities related to the version 0.1.0 of the package
Command Injection in lodash
lodash
versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Prototype Pollution in lodash
Versions of lodash
before 4.17.11 are vulnerable to prototype pollution.
The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object
via {constructor: {prototype: {...}}}
causing the addition or modification of an existing property that will exist on all objects.
Update to version 4.17.11 or later.
Prototype Pollution in lodash
Versions of lodash
before 4.17.5 are vulnerable to prototype pollution.
The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object
via __proto__
causing the addition or modification of an existing property that will exist on all objects.
Update to version 4.17.5 or later.
Prototype Pollution in lodash
Versions of lodash
before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep
allows a malicious user to modify the prototype of Object
via {constructor: {prototype: {...}}}
causing the addition or modification of an existing property that will exist on all objects.
Update to version 4.17.12 or later.