ESLint version 3.3.0 introduces subtle but potentially impactful updates compared to its predecessor, version 3.2.2. Both versions serve as AST-based pattern checkers for JavaScript, aiding developers in maintaining code quality and consistency. A primary area of divergence lies in the development dependencies. Notably, eslint-release jumps from version 0.5.0 to 0.10.0, suggesting potential enhancements or bug fixes in the release process itself. Also, proxyquire moves from a version range (>=1.0.0 <1.7.5) to ^1.7.10, indicating a more rigid dependency version.
In terms of direct dependencies, both versions share a common set, ensuring core functionality remains largely unchanged. These shared dependencies, including glob, levn, chalk, debug, and lodash provide the essential tooling for file system operations, argument parsing, and utility functions. Given the shared nature of the core dependencies and the nature of the changes in devDependencies, the update is most likelly focused on the internal development and build and not on fixing production bugs. The release date difference, approximately 12 days, reflects an iterative development cycle, typical for actively maintained projects. For developers, upgrading to 3.3.0 entails a review of potential build or release tooling alterations, while benefiting from the latest improvements and stability enhancements within the ESLint ecosystem. Existing configurations and rulesets should remain largely compatible, streamlining the upgrade process.
All the vulnerabilities related to the version 3.3.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: