Standard version 8.5.0 represents a notable update to the popular JavaScript Standard Style linter, building upon the foundation laid by version 8.4.0. Developers considering adopting or upgrading to 8.5.0 will find key improvements primarily within its dependency structure. Notably, the update brings a newer version of ESLint, moving from ~3.7.1 to ~3.8.1. This ESLint update likely incorporates new linting rules, bug fixes, and performance enhancements that benefit code quality and consistency. Similarly, eslint-plugin-promise sees an upgrade from ~3.0.0 to ~3.3.0, indicating enhancements and bug fixes related to promise-based linting rules, potentially improving the detection of anti-patterns and errors in asynchronous JavaScript code. The eslint-config-standard dependency also receives an update, shifting from 6.2.0 to 6.2.1. This relatively small version bump suggests minor configuration refinements and bug fixes within the core Standard Style ruleset. All other dependencies like standard-engine, eslint-plugin-react, eslint-plugin-standard, and eslint-config-standard-jsx remain consistent, ensuring a stable core linting experience focused on React and JSX code. For developers, these improvements mean potentially enhanced code quality analysis, better promise handling, and a more refined linting experience overall, while maintaining familiarity with the established Standard Style conventions. The changes, while subtle, contribute to a more robust and up-to-date linting workflow.
All the vulnerabilities related to the version 8.5.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: