Standard version 8.4.0 represents a minor upgrade over the previous stable version 8.3.0, incorporating key updates to its core dependencies. Most notably, the eslint dependency has been bumped from ~3.6.0 to ~3.7.1, likely bringing in new linting rules and improvements to the ESLint engine. Several eslint-plugin dependencies also received updates such as eslint-plugin-react (from ^6.0.0 to ~6.4.1) and eslint-plugin-promise (from ^2.0.0 to ~3.0.0).
These updates suggest enhanced support for React development and improvements to promise-related linting rules. While seemingly small, these dependency upgrades provide developers with a refined and more robust JavaScript Standard Style experience. The other dependencies eslint-config-standard, eslint-plugin-standard and eslint-config-standard-jsx appear to have stayed unchanged. Both versions maintain the same development dependencies, license, repository information, and author details. The package's focus remains consistent: enforcing a single, opinionated JavaScript style guide. Existing users of standard can expect a seamless transition to 8.4.0, while benefiting from the under-the-hood improvements related to linting and code quality checks. The update ensures ongoing compatibility and improved performance, solidifying Standard's position as a reliable tool for maintaining code consistency across JavaScript projects.
All the vulnerabilities related to the version 8.4.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: