ESLint version 2.7.0 is a minor release, building upon the solid foundation of version 2.6.0 to provide developers with an enhanced JavaScript linting experience. Both versions share core dependencies like glob, chalk, debug, table, escope, and espree, ensuring consistent functionality in file system operations, console output, debugging, formatting, and JavaScript parsing. The devDependencies also remain largely the same, including tools for testing, browser support, and performance analysis, indicating a consistent approach to development and quality assurance between the releases.
Essentially, upgrading from 2.6.0 to 2.7.0 means benefiting from potential bug fixes, performance improvements, without major breaking changes. Developers can expect consistent behavior across the versions regarding core linting capabilities. The shared dependencies also suggest a commitment to stability and well-maintained underlying infrastructure.
The only noticeable difference between the 2 versions is the release date, so version 2.7.0 may contain bug fixes that were not present in the previous version, but the changelog of the project should be investigated in order to know what was fixed or changed.
All the vulnerabilities related to the version 2.7.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: