Skip to content
This repository was archived by the owner on Aug 31, 2024. It is now read-only.

[Snyk] Security upgrade koa-pug from 3.0.0-2 to 5.0.0#109

Open
fengmk2 wants to merge 1 commit intomasterfrom
snyk-fix-25302b6a480f28d13575a0171afbfd79
Open

[Snyk] Security upgrade koa-pug from 3.0.0-2 to 5.0.0#109
fengmk2 wants to merge 1 commit intomasterfrom
snyk-fix-25302b6a480f28d13575a0171afbfd79

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Jun 25, 2024

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 Improper Control of Generation of Code ('Code Injection')
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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Improper Control of Generation of Code ('Code Injection')

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"koa-pug","from":"3.0.0-2","to":"5.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":"3dd6dda7-03d1-4f12-afaf-678f11654832","prPublicId":"3dd6dda7-03d1-4f12-afaf-678f11654832","packageManager":"npm","priorityScoreList":[696],"projectPublicId":"5ca2da73-217d-4894-b7d9-032bcec85d42","projectUrl":"https://app.snyk.io/org/fengmk2/project/5ca2da73-217d-4894-b7d9-032bcec85d42?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"}'

@socket-security
Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/helper-string-parser@7.24.7 None 0 31.8 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.24.7 None 0 49.3 kB nicolo-ribaudo
npm/@babel/parser@7.24.7 None 0 1.89 MB nicolo-ribaudo
npm/@babel/types@7.24.7 environment +1 2.42 MB nicolo-ribaudo
npm/acorn@7.4.1 None 0 1.21 MB marijn
npm/assert-never@1.2.1 None 0 4.17 kB aikoven
npm/at-least-node@1.0.0 None 0 2.63 kB ryanzim
npm/babel-walk@3.0.0-canary-5 None 0 110 kB babel-walk-bot
npm/constantinople@4.0.1 None 0 35.6 kB forbeslindesay
npm/fs-extra@9.1.0 filesystem 0 130 kB ryanzim
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/graceful-fs@4.2.11 environment, filesystem 0 32.5 kB isaacs
npm/hasown@2.0.2 None 0 8.77 kB ljharb
npm/is-core-module@2.13.1 None 0 30.2 kB ljharb
npm/is-expression@4.0.0 None 0 6.12 kB forbeslindesay
npm/jsonfile@6.1.0 filesystem 0 19.8 kB ryanzim
npm/koa-pug@5.0.0 filesystem 0 16.2 kB chrisyipw
npm/lodash.camelcase@4.3.0 None 0 21.9 kB jdalton
npm/lodash.forin@4.4.0 None 0 15.6 kB jdalton
npm/lodash.isplainobject@4.0.6 None 0 6.89 kB jdalton
npm/lodash.merge@4.6.2 None 0 54.1 kB jdalton
npm/pug-attrs@3.0.0 None 0 7.92 kB pug-bot
npm/pug-code-gen@3.0.3 None 0 29.1 kB pug-bot
npm/pug-error@2.1.0 None 0 23.1 kB pug-bot
npm/pug-filters@4.0.0 None 0 9.58 kB pug-bot
npm/pug-lexer@5.0.1 None 0 59.3 kB pug-bot
npm/pug-linker@4.0.0 None 0 8.57 kB pug-bot
npm/pug-load@3.0.0 filesystem 0 9.33 kB pug-bot
npm/pug-parser@6.0.0 None 0 35.8 kB pug-bot
npm/pug-runtime@3.0.1 filesystem 0 17 kB pug-bot
npm/pug-strip-comments@2.0.0 None 0 5.95 kB pug-bot
npm/pug-walk@2.0.0 None 0 9.61 kB pug-bot
npm/pug@3.0.3 environment, eval, filesystem 0 59.7 kB pug-bot
npm/resolve@1.22.8 environment, filesystem 0 145 kB ljharb
npm/supports-preserve-symlinks-flag@1.0.0 None 0 9.18 kB ljharb
npm/token-stream@1.0.0 None 0 5.53 kB timothygu
npm/universalify@2.0.1 None 0 4.67 kB ryanzim
npm/void-elements@3.1.0 None 0 3.11 kB forbeslindesay
npm/with@7.0.2 None 0 40.3 kB with-bot

🚮 Removed packages: npm/@types/babel-types@7.0.1, npm/@types/babylon@6.16.2, npm/acorn-globals@3.1.0, npm/acorn@3.3.0, npm/align-text@0.1.4, npm/camelcase@1.2.1, npm/center-align@0.1.3, npm/clean-css@4.1.11, npm/cliui@2.1.0, npm/constantinople@3.1.2, npm/function-bind@1.1.1, npm/graceful-fs@4.1.11, npm/is-expression@3.0.0, npm/koa-pug@3.0.0-2, npm/lazy-cache@1.0.4, npm/lodash._arraycopy@3.0.0, npm/lodash._arrayeach@3.0.0, npm/lodash._baseassign@3.2.0, npm/lodash._basecopy@3.0.1, npm/lodash._basefor@3.0.3, npm/lodash._bindcallback@3.0.1, npm/lodash._createassigner@3.1.1, npm/lodash._createcompounder@3.0.0, npm/lodash._getnative@3.9.1, npm/lodash._isiterateecall@3.0.9, npm/lodash._root@3.0.1, npm/lodash.assign@3.2.0, npm/lodash.camelcase@3.0.1, npm/lodash.deburr@3.2.0, npm/lodash.endswith@3.2.0, npm/lodash.forin@3.0.2, npm/lodash.isarguments@3.1.0, npm/lodash.isarray@3.0.4, npm/lodash.isplainobject@3.2.0, npm/lodash.istypedarray@3.0.6, npm/lodash.keys@3.1.2, npm/lodash.keysin@3.0.8, npm/lodash.merge@3.3.2, npm/lodash.restparam@3.6.1, npm/lodash.toplainobject@3.0.0, npm/lodash.words@3.2.0, npm/longest@1.0.1, npm/pug-code-gen@2.0.3, npm/pug-error@1.3.2, npm/pug-filters@3.1.0, npm/pug-lexer@4.0.0, npm/pug-linker@3.0.5, npm/pug-load@2.0.11, npm/pug-parser@5.0.0, npm/pug-runtime@2.0.4, npm/pug-strip-comments@1.0.3, npm/pug-walk@1.1.7, npm/pug@2.0.3, npm/resolve@1.4.0, npm/right-align@0.1.3, npm/token-stream@0.0.1, npm/uglify-js@2.8.29, npm/uglify-to-browserify@1.0.2, npm/void-elements@2.0.1, npm/window-size@0.1.0, npm/with@5.1.1, npm/wordwrap@0.0.2, npm/yargs@3.10.0

View full report↗︎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants