Standard version 8.3.0 introduces several updates and refinements compared to the previous stable version 8.2.0, improving the developer experience and reinforcing adherence to the JavaScript Standard Style. A key difference lies in the updated dependencies, specifically within the core linting configuration. eslint-config-standard sees an upgrade from version 6.1.0 to 6.2.0, potentially incorporating new linting rules and refinements to existing rulesets. eslint-config-standard-jsx is updated from version 3.1.0 to 3.2.0, ensuring better compatibility and rule enforcement for JSX syntax, commonly used in React applications.
While subtle, these dependency updates within the linting configurations can significantly impact code style enforcement, possibly flagging new issues or providing clearer guidance on existing rules. Furthermore, the babel-eslint dev dependency jumps from version 6.1.2 to 7.0.0, offering improved support for newer JavaScript syntax and features, which can affect how effectively the linter parses and validates your code, especially when using Babel for transpilation.
These updates reflect a continuous effort to maintain a robust and up-to-date linting environment that evolves with the JavaScript language and best practices. Developers should be aware of these changes and consider reviewing their codebases after upgrading to version 8.3.0 to address any new linting errors or warnings that may arise. The bump in dependency versions will help to lint modern javascript effectively with less headaches and increase the code quality.
All the vulnerabilities related to the version 8.3.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: