ESLint version 3.7.1 is a minor patch release following version 3.7.0, both serving as AST-based pattern checkers for JavaScript code. Developers using ESLint rely on it to identify and automatically fix problematic code patterns, ensuring code quality and consistency across projects. Both versions share the same core dependencies, including tools for working with Abstract Syntax Trees (ASTs), file system operations, and command-line interfaces. Key dependencies remain consistent, like espree for JavaScript parsing, escope for scope analysis, and lodash for utility functions.
The primary difference lies in the release date, indicating that 3.7.1 likely addresses bug fixes or minor improvements discovered shortly after the 3.7.0 release. While the core functionality and dependencies remain the same, upgrading to 3.7.1 is recommended for developers seeking the most stable and refined experience. For developers, the "dependencies" and "devDependencies" sections are crucial. "Dependencies" list packages required for ESLint to function correctly in a project such as "glob","levn","chalk", while "devDependencies" detail the tools used to develop, test, and build the ESLint package itself, including testing frameworks like mocha and chai, and build tools. By checking both versions a developer that uses the library can figure out if any of the changes between the versions could affect his code. Remember to check the official releases notes in order to know the precise changes.
All the vulnerabilities related to the version 3.7.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: