ESLint version 3.14.0 is a minor release over the previous stable version 3.13.1. Both versions serve as AST-based pattern checkers for JavaScript, aiding developers in maintaining code quality and consistency through customizable linting rules. A notable difference is the release date, with version 3.14.0 released on January 20, 2017, offering more recent updates and potential bug fixes compared to version 3.13.1 released on January 9, 2017.
Examining the dependencies and devDependencies reveals that both versions share almost identical direct dependencies, including crucial tools like glob, lodash, escope, and espree for core functionality. Similarly, development dependencies such as chai, mocha, and babelify for testing and build processes are also consistent. This suggests that the core architecture and major tooling integrations remain stable between the two releases. Developers can expect a familiar experience when upgrading.
While the surface-level dependencies show no substantial change, the underlying libraries are continuously updated, thus, upgrading to 3.14.0 means that developers will get the new updates from the dependencies, including bug fixes and improvements, which is always an advantage. This ensures you're leveraging the latest refinements in the ecosystem. For those using ESLint as a core part of their JavaScript development workflow, upgrading to the latest minor version 3.14.0 is advisable to benefit from the newest patches and incremental improvements without introducing significant breaking changes. Always check for updates to peer dependencies or plugins to ensure compatibility.
All the vulnerabilities related to the version 3.14.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: