Eslint version 3.17.0 is a minor update to the popular JavaScript linting tool, building upon the foundation laid by version 3.16.1. Both versions share the same core functionality: analyzing JavaScript code for stylistic and potential error patterns based on Abstract Syntax Trees (AST). Developers familiar with eslint will find the upgrade straightforward, as the fundamental usage remains consistent.
A key difference between the two versions lies within their devDependencies. Version 3.17.0 updates mock-fs to a git repository link, pointing to a specific commit hash: git://github.com/not-an-aardvark/mock-fs/#06868bbd7724707f9324b237bdde28f05f7a01d5, in contrast to version 3.16.1 that makes use of mock-fs":"^4.0.0". Also, coveralls is updated from 2.11.4 to ^2.11.16 and eslint-plugin-node from ^2.0.0 to ^4.1.0, which might contain new or modified linting rules to be aware of. The introduction of gh-got and linefix as devDependencies in 3.16.1 is also worth noticing. While dependencies remain largely the same, version 3.17.0 ships with a newer release date of 2017-03-03 compared to 2017-02-22 of the previous version, which makes it a slightly more recent release. Furthermore, examining the change logs associated with mock-fs, coveralls and eslint-plugin-node is crucial for understanding the precise nature of these under-the-hood improvements for developers using eslint in their workflow. Ensure compatibility and address any adjustments required for plugins or custom configurations. Though seemingly minor, these updates contribute to the overall stability and reliability of eslint.
All the vulnerabilities related to the version 3.17.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: