Standard version 7.0.1 is a minor patch release of the popular JavaScript Standard Style linter, building upon the foundation laid by version 7.0.0. Both versions provide a consistent and opinionated code style, enforcing best practices, readability, and collaboration among developers. They bundle essential tools like ESLint, along with plugins such as eslint-plugin-react, eslint-plugin-promise, and eslint-plugin-standard, ensuring adherence to the Standard Style guidelines for both regular JavaScript and JSX code. Key dependencies, including standard-engine, eslint-config-standard, and eslint-config-standard-jsx, remain largely consistent between the two releases, indicating a stable core.
The primary difference lies in the updated eslint-config-standard dependency, moving from version 5.3.0 in 7.0.0 to version 5.3.1 in 7.0.1. While seemingly small, such updates often include crucial bug fixes or minor rule adjustments within the Standard Style itself, potentially addressing edge cases or improving the accuracy of linting. Developers upgrading to 7.0.1 can expect a refined linting experience. Both versions sport identical development dependencies (tape, mkdirp, minimist, babel-eslint, cross-spawn-async, standard-packages, run-parallel-limit), licensing (MIT), repository details, and author information, reaffirming the project's ongoing maintenance and commitment to open-source principles. Considering the minimal version bump, most users can upgrade confidently, anticipating only minor improvements and bug fixes in eslint-config-standard without significant breaking changes.
All the vulnerabilities related to the version 7.0.1 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: