ESLint version 3.8.1 is a minor patch release following closely on the heels of version 3.8.0. Both versions serve as AST-based pattern checkers for JavaScript, offering developers a powerful tool for maintaining code quality, consistency, and adherence to coding standards. Examining the dependency and devDependency lists, the two versions appear largely identical, suggesting the changes likely revolve around bug fixes, performance improvements, or minor enhancements rather than major feature additions. Developers upgrading from 3.8.0 to 3.8.1 can anticipate a smooth transition with minimal disruption.
The core functionality of ESLint remains consistent between the versions, providing robust linting capabilities through configurable rules and integration with popular development environments and build tools. Developers benefit from ESLint's ability to automatically identify and report problematic code patterns, reducing the risk of errors and promoting best practices. This helps to improve code maintainability and collaboration within development teams. The release date delta of just a few days suggests that version 3.8.1 addresses critical issues discovered shortly after the release of version 3.8.0, making it a recommended update for all users of the eslint 3.8 branch.
All the vulnerabilities related to the version 3.8.1 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: