ESLint version 3.16.1 is a minor release following 3.16.0 in the popular JavaScript linting tool. Both versions share the same core functionality as AST-based pattern checkers, providing developers with a robust way to enforce code style and identify potential errors. Key dependencies like glob, lodash, espree and escope as well as development dependencies like chai, mocha, and babelify remain consistent across both versions, ensuring stability and compatibility for existing ESLint configurations. The license, repository, and author information is also identical, reinforcing their shared lineage.
Specifically, version 3.16.1 was released on February 22, 2017, a mere two days after version 3.16.0. This suggests that 3.16.1 most likely contains small bug fixes and minor patches addressing issues found in version 3.16.0 that may affect some edge cases of some projects. The core functionality of both tools in terms of code style and error identification is the same, so most ESLint users can simply update, using the newer version to benefit from the latest improvements. For developers, upgrading from 3.16.0 to 3.16.1 is likely a low-risk operation and is recommended to leverage the latest fixes and keep their tooling up to date.
All the vulnerabilities related to the version 3.16.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: