ESLint version 3.7.0 represents a minor version update over the previous stable release, 3.6.1, offering refinements and potential bug fixes rather than substantial architectural changes. Both versions share the same core functionality as an AST-based pattern checker for JavaScript, designed to help developers enforce coding standards and identify potential errors in their code. The fundamental dependencies, including core parsing and utility libraries like espree, escope, lodash, js-yaml, and chalk, remain consistent, suggesting that the core parsing and linting logic has not undergone significant alteration. Similarly, the development dependencies used for testing and building the project, such as mocha, chai, karma, and browserify, are also largely the same.
While a detailed changelog would offer a more precise understanding of the changes, the minor version increment implies that the update likely focuses on resolving reported issues, enhancing existing rules, or adding minor new features without introducing breaking changes. Developers upgrading from 3.6.1 can anticipate a smooth transition, with the primary benefits being improved stability and potentially enhanced rule coverage. It's always recommended to consult the official release notes or changelog on the ESLint website or GitHub repository for a comprehensive list of changes and any specific migration considerations. Both versions are licensed under the MIT license, providing developers with the freedom to use, modify, and distribute the software. They also share the same author and repository.
All the vulnerabilities related to the version 3.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: