Standard version 8.6.0 is a minor release of the popular JavaScript Standard Style linter, building upon version 8.5.0 with key updates in its core dependencies. Developers upgrading from 8.5.0 will primarily notice changes stemming from the updated ESLint dependency, moving from version ~3.8.1 to ~3.10.2. This ESLint upgrade likely includes new linting rules, bug fixes, and potentially performance improvements that will translate into refined code style enforcement and fewer false positives.
Another notable difference is the update to standard-engine from ~5.1.0 to ~5.2.0. standard-engine provides the foundation for standard's command-line interface and core functionality, and its update probably introduces improvements in command handling, plugin support, or error reporting. Similarly, eslint-plugin-react updated from ~6.4.1 to ~6.7.1 and eslint-plugin-promise updated from ~3.3.0 to ~3.4.0, reflecting enhancements specific to React and Promise-based code – look for refined validation around React component best practices and asynchronous code patterns. Additionally, cross-spawn updated from version ^4.0.0 to ^5.0.1 likely reflecting improved cross-platform compatibility when spawning child processes. The other dependency and devDependency versions are the same. These improvements make it a worthwhile bump for developers looking to keep their linting rules and toolchain modern.
All the vulnerabilities related to the version 8.6.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: