Standard version 9.0.2 represents a minor update over its predecessor, version 9.0.1, within the popular JavaScript Standard Style linter. The core functionality remains consistent, providing a straightforward and opinionated approach to JavaScript code formatting. This enhances code readability and maintainability across projects, saving developers configuration time and promoting team consistency.
The primary difference lies in the updated dependencies. Version 9.0.2 upgrades eslint from ~3.15.0 to ~3.18.0 and eslint-config-standard from 7.0.1 to 7.1.0. These updates likely incorporate bug fixes, new linting rules, and performance improvements within the core linting engine and standard rule set. While seemingly minor, these updates ensure developers benefit from the latest refinements in ESLint's analysis capabilities and the standard style guidelines. It's a gentle enhancement for existing users, offering iterative upgrades without major breaking changes.
Both versions support React projects with eslint-plugin-react, promise handling with eslint-plugin-promise, and JSX syntax with eslint-config-standard-jsx. The development dependencies, including testing tools like tape, and utilities such as mkdirp, minimist, cross-spawn, babel-eslint, standard-packages, and run-parallel-limit, remain unchanged, suggesting that the core development and testing processes were not significantly altered between the two versions. This makes the update relatively safe and easy to adopt for current standard users.
All the vulnerabilities related to the version 9.0.2 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: