Standard version 6.0.4 introduces a minor but potentially impactful change compared to version 6.0.3. While many dependencies remain consistent, the key difference lies within the eslint-config-standard-jsx dependency. Standard 6.0.4 updates this dependency from version 1.1.0 to version 1.1.1. This signifies a patch update, typically including bug fixes or minor improvements within the JSX-specific linting rules.
For developers utilizing Standard for JavaScript style linting, this change ensures they benefit from the latest refinements in JSX code validation. While not a major overhaul, patch updates are essential for maintaining code quality and consistency. Developers prioritizing adherence to the Standard style guide in React or JSX projects will want to upgrade to 6.0.4 to leverage these subtle enhancements. These upgrades ensure you are optimizing code quality with the latest standards, reducing potential errors and promoting a unified development environment. The remaining dependencies, covering general ESLint configurations, React and Promise plugins, and core linting engine infrastructure, remain unchanged, providing stability in those crucial areas. Both versions were released on the same day, just hours apart, showing the quick turnaround to patch the JSX config.
All the vulnerabilities related to the version 6.0.4 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: