Standard version 7.1.2 represents a minor update to the popular JavaScript Standard Style linter, building upon the solid foundation of version 7.1.1. Both versions maintain consistent core dependencies like eslint, standard-engine, and various eslint-plugin-* packages for React, Promise, and Standard styling, ensuring a familiar experience for existing users. While the core linting rules remain largely the same, the key difference lies in the updated eslint-config-standard-jsx dependency, moving from version 1.2.0 in 7.1.1 to 1.2.1 in the newer release. This subtle upgrade likely includes minor refinements or bug fixes within the JSX-specific linting rules, contributing to more accurate and consistent code style checks for React projects. Furthermore, a notable update involves cross-spawn, upgrading to version 4.0.0 from 3.0.1. This implies enhanced cross-platform compatibility and potentially improved handling of subprocesses during the linting process. The newer version was released on the 3rd of June 2016, a week after version 7.1.1. For developers using Standard, this means upgrading to 7.1.2 provides a slightly refined linting experience, particularly for React codebases, alongside potentially more robust cross-platform support. These changes are incremental, meaning the upgrade should be seamless.
All the vulnerabilities related to the version 7.1.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: