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

[Snyk] Security upgrade email-templates from 8.0.3 to 11.1.1 #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

titanism
Copy link

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 yarn dependencies of this project.

Snyk changed the following file(s):

  • package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning ``` Failed to update the yarn.lock, please update manually before merging. ```

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":"email-templates","from":"8.0.3","to":"11.1.1"}],"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":"b8d5f855-ecad-4662-9953-e075babe5e72","prPublicId":"b8d5f855-ecad-4662-9953-e075babe5e72","packageManager":"yarn","priorityScoreList":[696],"projectPublicId":"26ebb8f9-2481-49cc-aa58-2dd8d38d9630","projectUrl":"https://app.snyk.io/org/titanism/project/26ebb8f9-2481-49cc-aa58-2dd8d38d9630?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":["SNYK-JS-PUGCODEGEN-7086056"],"vulns":["SNYK-JS-PUGCODEGEN-7086056"],"patch":[],"isBreakingChange":true,"remediationStrategy":"vuln"}'

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PUGCODEGEN-7086056
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/helper-member-expression-to-functions@7.12.16 None 0 42.7 kB nicolo-ribaudo
npm/@babel/parser@7.12.16 None 0 1.54 MB nicolo-ribaudo
npm/@babel/plugin-proposal-unicode-property-regex@7.12.13 None +2 13.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.12.13 None +2 13.1 kB nicolo-ribaudo
npm/@babel/runtime@7.12.13 None 0 114 kB nicolo-ribaudo
npm/@protobufjs/aspromise@1.1.2 None 0 9.05 kB dcode
npm/@types/babel-types@7.0.9 None 0 141 kB types
npm/@types/long@4.0.1 None 0 13.2 kB types
npm/@types/mdast@3.0.3 None 0 6.77 kB types
npm/@types/minimatch@3.0.3 None 0 8.07 kB types
npm/@types/node@14.14.27 None 0 749 kB types
npm/@types/unist@2.0.3 None 0 5.23 kB types
npm/acorn-jsx@5.3.1 None 0 24.1 kB rreverser
npm/acorn-node@1.8.2 None +2 1.36 MB goto-bus-stop
npm/acorn@8.0.5 None 0 1.22 MB marijn
npm/ajv@6.12.6 eval 0 929 kB esp
npm/any-promise@1.3.0 None 0 22.2 kB kevinbeaty
npm/arrify@2.0.1 None 0 3.19 kB sindresorhus
npm/assert@1.5.0 Transitive: environment +2 84.3 kB goto-bus-stop
npm/autoprefixer@9.8.6 environment +1 361 kB ai
npm/base64-js@1.5.1 None 0 9.62 kB feross
npm/bin-wrapper@4.1.0 filesystem Transitive: environment, shell +17 159 kB sindresorhus
npm/bn.js@5.1.3 None 0 99.8 kB fanatid
npm/boolbase@1.0.0 None 0 1.33 kB feedic
npm/brorand@1.1.0 None 0 3.52 kB indutny
npm/browser-pack@6.1.0 filesystem +1 34.5 kB goto-bus-stop
npm/browserify-aes@1.2.0 None +1 34.6 kB cwmma
npm/browserify-rsa@4.1.0 None 0 3.68 kB cwmma
npm/browserify-zlib@0.2.0 None 0 192 kB dignifiedquire
npm/browserslist@4.16.3 environment, filesystem +3 183 kB ai
npm/buffer@5.2.1 None 0 79.9 kB feross
npm/bytes@3.1.0 None 0 11 kB dougwilson
npm/cached-path-relative@1.0.2 None 0 3.68 kB ashaffer88
npm/caniuse-lite@1.0.30001185 None 0 1.51 MB caniuse-lite
npm/capitalize@2.0.3 None 0 6.06 kB grncdr
npm/caw@2.0.1 None 0 3.66 kB kevva
npm/chokidar@3.5.1 environment, filesystem +7 201 kB paulmillr
npm/cipher-base@1.0.4 None 0 7.95 kB cwmma
npm/cli-boxes@2.2.1 None 0 6.14 kB sindresorhus
npm/clone-response@1.0.2 None 0 4.61 kB lukechilds
npm/combine-source-map@0.8.0 Transitive: filesystem +1 56.6 kB thlorenz
npm/commander@4.1.1 filesystem, shell 0 93.2 kB abetomo
npm/common-tags@1.8.0 None 0 226 kB fatfisz
npm/compressible@2.0.18 None 0 7.36 kB dougwilson
npm/config-chain@1.1.12 environment, filesystem, network 0 15 kB dawsonbotsford
npm/console-control-strings@1.1.0 None 0 12.7 kB iarna
npm/constants-browserify@1.0.0 None 0 7.46 kB juliangruber
npm/content-disposition@0.5.3 None 0 19.1 kB dougwilson
npm/copy-to@2.0.1 None 0 5.03 kB dead_horse
npm/core-js@2.6.12 environment, eval, filesystem 0 2.26 MB zloirock
npm/create-hash@1.2.0 None 0 5.21 kB cwmma
npm/create-hmac@1.1.7 None 0 5.81 kB cwmma
npm/crypto-browserify@3.12.0 None +8 293 kB cwmma
npm/css-color-names@0.0.4 None 0 5.33 kB bahamas10
npm/debug@4.3.1 environment +1 47.9 kB qix
npm/decompress-response@3.3.0 None 0 3.54 kB sindresorhus
npm/decompress-tar@4.1.1 None +1 21.8 kB kevva
npm/decompress@4.2.1 None +6 67.3 kB sindresorhus
npm/deep-equal@1.0.1 None 0 9.69 kB substack
npm/deep-is@0.1.3 None 0 8.22 kB thlorenz
npm/deepmerge@4.3.1 None 0 31.2 kB tehshrike
npm/denque@1.5.0 None 0 24 kB salakar
npm/depd@1.1.2 environment, eval 0 30.5 kB dougwilson
npm/dom-serializer@1.2.0 None +3 118 kB feedic
npm/domain-browser@1.2.0 None 0 16.8 kB bevryme
npm/domutils@2.4.4 None +2 87 kB feedic
npm/dot-prop@5.3.0 None 0 9.61 kB sindresorhus
npm/duplexer2@0.1.4 None 0 6.4 kB zertosh
npm/duplexify@4.1.1 None 0 18.2 kB mafintosh
npm/ecdsa-sig-formatter@1.0.11 None 0 20.6 kB d2l-travis-deploy
npm/email-templates@11.1.1 environment, filesystem Transitive: eval, network, shell +20 4.33 MB titanism
npm/encodeurl@1.0.2 None 0 7.86 kB dougwilson
npm/encoding-japanese@2.1.0 None 0 852 kB polygonplanet
npm/end-of-stream@1.4.4 None 0 6.23 kB mafintosh
npm/enquirer@2.3.6 environment +1 222 kB jonschlinkert
npm/env-editor@0.4.2 environment 0 8.47 kB sindresorhus
npm/error-ex@1.3.2 None 0 9.04 kB qix
npm/es5-ext@0.10.53 eval +1 523 kB medikoo
npm/es6-iterator@2.0.3 None 0 29.7 kB medikoo
npm/es6-symbol@3.1.3 None +1 44.9 kB medikoo
npm/es6-weak-map@2.0.3 None 0 12.5 kB medikoo
npm/escape-html@1.0.3 None 0 3.66 kB dougwilson
npm/eslint-plugin-import@2.22.1 environment, filesystem, unsafe Transitive: network +19 3.53 MB ljharb
npm/eslint-plugin-prettier@3.3.1 None 0 51.4 kB bpscott
npm/eslint-scope@5.1.1 None +1 91.9 kB eslintbot
npm/eslint-template-visitor@2.2.2 None 0 41.3 kB futpib
npm/eslint-utils@2.1.0 None 0 342 kB mysticatea
npm/eslint-visitor-keys@1.3.0 None 0 23.7 kB eslintbot
npm/espree@7.3.1 None 0 72.9 kB eslintbot
npm/espurify@2.0.1 None 0 20.1 kB twada
npm/esquery@1.4.0 None +1 1.02 MB michaelficarra
npm/estraverse@4.3.0 None 0 36.3 kB michaelficarra
npm/esutils@2.0.3 None 0 50.6 kB michaelficarra
npm/evp_bytestokey@1.0.3 None 0 5.13 kB dcousens
npm/expand-tilde@2.0.2 None 0 6.59 kB doowb
npm/jsonstream@1.3.5 None 0 0 B

🚮 Removed packages: npm/email-templates@8.0.3, npm/factor-bundle@2.5.0, npm/factory-girl@5.0.4, npm/fast-safe-stringify@2.0.7, npm/fixpack@4.0.0, npm/font-awesome-assets@0.0.8, npm/gemoji@6.1.0, npm/get-port@5.1.1, npm/github-markdown-css@4.0.0, npm/globby@11.0.2, npm/gulp-babel@8.0.0, npm/gulp-cli@2.3.0, npm/gulp-concat@2.6.1, npm/gulp-if@3.0.0, npm/gulp-imagemin@7.1.0, npm/gulp-livereload@4.0.2, npm/gulp-postcss@9.0.0, npm/gulp-pug-linter@1.5.0, npm/gulp@4.0.2, npm/hasha@5.2.2, npm/highlight.js@10.6.0, npm/html5-history-api@4.2.10, npm/humanize-string@2.1.0, npm/ip@1.1.5, npm/is-string-and-not-blank@0.0.2, npm/isbot@3.0.23, npm/jquery-lazy@1.7.11, npm/jquery-placeholder@2.3.1, npm/jquery.pointer-events-polyfill@0.2.4, npm/jquery@3.5.1, npm/koa-ctx-paginate@0.0.6, npm/koa-views-render@0.0.1, npm/lodash@4.17.20, npm/mandarin@4.2.0, npm/manifest-rev@1.0.3, npm/markdown-it-emoji@2.0.0, npm/markdown-it-github-headings@2.0.0, npm/markdown-it-highlightjs@3.4.0, npm/markdown-it-task-checkbox@1.0.6, npm/markdown-it@12.0.4, npm/mongodb-memory-server@6.9.3, npm/mongoose-common-plugin@2.0.2, npm/mongoose-json-select@0.2.1, npm/mongoose-omit-common-fields@0.0.6, npm/mongoose-unique-validator@2.0.3, npm/mongoose@5.11.15, npm/nodemailer-base64-to-s3@3.0.2, npm/nodemailer@6.4.18, npm/numeral@2.0.6, npm/otplib@12.0.1, npm/p-map@4.0.0, npm/p-series@2.1.0, npm/parse-logs@1.0.0, npm/passport-local-mongoose@6.1.0, npm/passport-otp-strategy@1.0.1, npm/pino@6.11.1, npm/pluralize@8.0.0, npm/popper.js@1.16.1, npm/prepare-stack-trace@0.0.4, npm/pug@3.0.0, npm/qrcode@1.4.4, npm/qs@6.9.6, npm/reserved-email-addresses-list@0.0.8, npm/rev-hash@3.0.0, npm/sanitize-html@2.3.2, npm/signale@1.4.0, npm/speakingurl@14.0.1, npm/stacktrace-js@2.0.2, npm/striptags@3.1.1, npm/superagent@6.1.0, npm/sweetalert2@8.19.0, npm/titleize@2.1.0, npm/uncaught@0.0.5, npm/validator@13.5.2, npm/zxcvbn@4.4.2

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteCI
Protestware/Troll package npm/es5-ext@0.10.53
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
🚫

View full report↗︎

Next steps

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/es5-ext@0.10.53

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

Successfully merging this pull request may close these issues.

2 participants