ESLint 2.2.0 represents a minor update to the popular JavaScript linting tool, building upon the foundation laid by version 2.1.0. While both versions share core dependencies like glob, chalk, escope, and espree for parsing and code analysis, the key difference lies in the bug fixes and minor enhancements introduced in the newer release. Developers upgrading from 2.1.0 can expect a smoother and more reliable experience due to these improvements.
The dependency lists remain largely consistent, indicating that the fundamental architecture and functionality of ESLint are unchanged. However, specific patch updates within these dependencies might silently improve performance or security. Both versions include a robust set of development dependencies for testing and building the project which range from chai for assertions to mocha for tests and even browserify for running tests in the browser..
The releaseDate signifies a very short time window between versions (Less than 5 days), suggesting that version 2.2.0 likely addresses critical bugs or provides immediate compatibility fixes identified soon after version 2.1.0's release. For developers relying on ESLint for consistent code quality and style enforcement, upgrading to the latest minor version is generally recommended to benefit from these improvements and ensure the most stable linting experience. This upgrade to version 2.2.0 maintains the MIT license and contribution details, demonstrating the team's continued commitment to open-source collaboration.
All the vulnerabilities related to the version 2.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: