eslint 2.11.1 is a patch release following closely after version 2.11.0, both building upon the core functionality of ESLint as an AST-based pattern checker for JavaScript code. These versions help developers enforce consistent coding styles and identify potential errors, leading to cleaner and more maintainable codebases. The primary change between these versions likely involves bug fixes and minor adjustments that were implemented to improve stability and address unforeseen issues in the prior version.
Both versions share identical dependencies and devDependencies, indicating no significant feature additions or major refactoring occurred between them. This means developers can expect the same core linting rules, configuration options, and integration capabilities in both versions. Notable dependencies include Espree for JavaScript parsing, Escope for static analysis, and Lodash for utility functions highlighting the tools used for Javascript code analysis.
The quick release of 2.11.1 after 2.11.0 suggests that the changes were crucial enough to warrant an immediate update for users. When deciding between versions, projects should always favor the latest patch release (2.11.1) to leverage improvements, avoid recently discovered flaws, and get the most stable version possible.
All the vulnerabilities related to the version 2.11.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: