ESLint 3.13.0 is a minor release of the popular JavaScript linting tool, building upon the foundation laid by version 3.12.2. Both versions share the same core functionality as AST-based pattern checkers, providing developers with robust mechanisms to enforce code style and identify potential errors. Key dependencies like glob, lodash, and esprima remain consistent, ensuring continuity in core parsing and file handling. The change between the versions includes an update to the strip-json-comments dependency, which moves from "~1.0.1" to "~2.0.1". This update is about removing comments from JSON files.
For developers, the upgrade from 3.12.2 to 3.13.0 offers a refined and potentially more secure linting experience. While the core ESLint engine and crucial developer dependencies such as Chai, Mocha, and Sinon for testing remain the same, the subtle dependency adjustments signify ongoing maintenance and attention to detail. Using the latest version ensures access to most recent bug fixes, performance improvements, and enhancements to rule processing. Developers can expect compatibility with existing ESLint configurations and plugins, making the transition smooth and beneficial for maintaining high JavaScript code quality. Always consult the official changelog for a comprehensive list of changes and guidance on upgrading.
All the vulnerabilities related to the version 3.13.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: