ESLint version 3.1.0 is a minor release following 3.0.1 in the popular JavaScript linting tool. Both versions maintain the core function of providing an AST-based pattern checker for JavaScript code, helping developers enforce coding standards and identify potential errors. Looking at the dependencies, they appear largely consistent between the two versions, ensuring stability and continued compatibility with related tools. Core dependencies like glob, lodash, espree, and escope remain at similar versions, suggesting that the fundamental parsing and analysis capabilities are unchanged.
A noticeable difference lies within the devDependencies. While many remain the same indicating a consistent testing and development environment, there's a shift in mock-fs from version 3.9.0 to 3.10.0 in the newer version. Although seemingly small, such updates in testing dependencies can bring improvements in mocking file systems during testing, potentially leading to more reliable and faster test suites. Also only version 3.1.0 has the release date property.
For developers using ESLint, this incremental update signifies a continued commitment to the project's maintenance and evolution. Upgrading from 3.0.1 to 3.1.0 should be straightforward, given the largely unchanged dependency structure, and offers the potential for subtle improvements in testing workflows and potentially bug fixes within the core linting engine. Regularly updating ESLint ensures access to the latest rule sets, performance enhancements, and compatibility with modern JavaScript features.
All the vulnerabilities related to the version 3.1.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: