Introduce vulnerable dependency for PR demo#1567
Introduce vulnerable dependency for PR demo#1567justinnikolic wants to merge 1 commit intosnyk-labs:mainfrom
Conversation
There was a problem hiding this comment.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on January 1
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| "test": "snyk test" | ||
| }, | ||
| "dependencies": { | ||
| "handlebars": "4.7.6", |
There was a problem hiding this comment.
Bug: Vulnerable handlebars version with known RCE vulnerability
Adding handlebars version 4.7.6 which has known security vulnerabilities including CVE-2021-23369 (Remote Code Execution). Versions before 4.7.7 allow RCE when compiling templates from untrusted sources. The latest non-vulnerable version is 4.7.8. While the PR title indicates this is intentional for demo purposes, this introduces an exploitable security vulnerability into the codebase.
Note
Adds
handlebars@4.7.6and refreshes lockfile with related dependency/version updates.handlebars@4.7.6topackage.json.package-lock.json):handlebarsto4.7.6with new depsminimist,neo-async, andwordwrap.minimistto1.2.8; upgradewordwrapto1.0.0; addneo-async@2.6.2.optimistand nestedhbsdependency entries and integrity metadata.Written by Cursor Bugbot for commit e02196c. This will update automatically on new commits. Configure here.