Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High severity - Arbitrary Code Execution vulnerability in sqlite3 (package.json) #116

Open
github-actions bot opened this issue Apr 4, 2023 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Apr 4, 2023

  • Package Manager: npm
  • Vulnerable module: sqlite3
  • Introduced through: juice-shop@12.3.0 and sqlite3@5.0.2

Detailed paths

  • Introduced through: juice-shop@12.3.0 › sqlite3@5.0.2

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via the .ToString() method due to improper sanitization. Exploiting this vulnerability is possible when a binding parameter is a crafted Object and might result in arbitrary JavaScript code execution or DoS.

Workarounds

Ensure sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.

Remediation

Upgrade sqlite3 to version 5.1.5 or higher.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants