Standard package version 8.2.0 introduces several updates compared to its predecessor, version 8.1.0, primarily focused on dependency upgrades. Developers will find that version 8.2.0 utilizes eslint version "~3.6.0", a step up from the "~3.5.0" used in version 8.1.0. This eslint upgrade likely includes new linting rules and bug fixes, potentially offering improved code quality checks during project development. Another significant change is the dependency update for eslint-config-standard, moving from version "6.0.1" to "6.1.0". This update might introduce new standard JavaScript style rules. If you are using JSX, you need to know that eslint-config-standard-jsx has also been updated from "3.0.1" to "3.1.0". These updates to the eslint configuration packages ensure that the standard package stays current with the evolving best practices of JavaScript styling. While the core functionality of enforcing JavaScript Standard Style remains consistent, these dependency bumps ensure developers benefit from the newest features, bug fixes, and standardized rules offered by the underlying linting tools, potentially leading to more reliable and maintainable codebases. No changes are present in devDependencies. Both versions use the same tools. The releaseDate also gives developers the possibility to ensure they are using recent versions of the package.
All the vulnerabilities related to the version 8.2.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: