Standard version 7.0.0 introduces significant updates and improvements over the previous stable version 6.0.8, primarily focusing on dependency upgrades to enhance coding standards enforcement and compatibility. Notably, the core eslint dependency jumps from ~2.2.0 to ~2.9.0, reflecting enhancements in JavaScript linting capabilities and rule sets. Developers upgrading should expect finer-grained control over code style and potential flagging of previously ignored patterns.
Furthermore, the standard-engine dependency, the tool powering the Standard library, moves from ^3.3.0 to ^4.0.0, signifying fundamental changes in how the Standard style is applied and configured. The eslint-plugin-react is updated from ^4.0.0 to ^5.0.1, offering better support for modern React syntax and best practices. Likewise, eslint-config-standard receives an upgrade from 5.1.0 to 5.3.0 and eslint-config-standard-jsx from 1.1.1 to 1.2.0, to keep pace with evolving standard coding practices.
While developer dependencies such as testing framework tape, utility libraries mkdirp and minimist, and build tools such as cross-spawn-async, standard-packages and run-parallel-limit remain consistent, the upgrade of babel-eslint from ^5.0.0 to ^6.0.0 indicates better support for ES2015+ features, important for developers using modern JavaScript syntax. These cumulative changes in version 7.0.0 aim to provide a more robust and versatile JavaScript Standard Style experience.
All the vulnerabilities related to the version 7.0.0 of the package
Prototype Pollution in Ajv
An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)
Improper Privilege Management in shelljs
shelljs is vulnerable to Improper Privilege Management
Improper Privilege Management in shelljs
Output from the synchronous version of shell.exec()
may be visible to other users on the same system. You may be affected if you execute shell.exec()
in multi-user Mac, Linux, or WSL environments, or if you execute shell.exec()
as the root user.
Other shelljs functions (including the asynchronous version of shell.exec()
) are not impacted.
Patched in shelljs 0.8.5
Recommended action is to upgrade to 0.8.5.
https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/
If you have any questions or comments about this advisory: