ethanresnick / json-api

Turn your node app into a JSON API server (http://jsonapi.org/)
GNU Lesser General Public License v3.0
268 stars 41 forks source link

[Snyk] Security upgrade pug from 2.0.3 to 3.0.0 #220

Open ethanresnick opened 4 months ago

ethanresnick commented 4 months ago

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project. #### Snyk changed the following file(s): - `package.json` - `package-lock.json` #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Improper Control of Generation of Code ('Code Injection')
[SNYK-JS-PUGCODEGEN-7086056](https://snyk.io/vuln/SNYK-JS-PUGCODEGEN-7086056) |   **696**   --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs._ For more information: 🧐 [View latest project report](https://app.snyk.io/org/ethanresnick/project/4f4e57b6-5b74-49f8-a285-cbdff0817079?utm_source=github&utm_medium=referral&page=fix-pr) πŸ“œ [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) πŸ›  [Adjust project settings](https://app.snyk.io/org/ethanresnick/project/4f4e57b6-5b74-49f8-a285-cbdff0817079?utm_source=github&utm_medium=referral&page=fix-pr/settings) πŸ“š [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) --- **Learn how to fix vulnerabilities with free interactive lessons:** πŸ¦‰ [Improper Control of Generation of Code ('Code Injection')](https://learn.snyk.io/lesson/malicious-code-injection/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"pug","from":"2.0.3","to":"3.0.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-JS-PUGCODEGEN-7086056","priority_score":696,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"}],"prId":"8b5d213d-c783-4ba9-807d-7f5f756fdc7c","prPublicId":"8b5d213d-c783-4ba9-807d-7f5f756fdc7c","packageManager":"npm","priorityScoreList":[696],"projectPublicId":"4f4e57b6-5b74-49f8-a285-cbdff0817079","projectUrl":"https://app.snyk.io/org/ethanresnick/project/4f4e57b6-5b74-49f8-a285-cbdff0817079?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-JS-PUGCODEGEN-7086056"],"vulns":["SNYK-JS-PUGCODEGEN-7086056"],"patch":[],"isBreakingChange":true,"remediationStrategy":"vuln"}'