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 markdown-it from 12.3.2 to 13.0.2 #459

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

Conversation

titanism
Copy link
Contributor

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


Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • template/package.json
    • template/yarn.lock

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.

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Infinite loop
SNYK-JS-MARKDOWNIT-6483324
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/factor-bundle@2.5.0 environment, filesystem 0 48 kB substack
npm/factory-girl@5.0.4 None 0 755 kB aexmachina
npm/fast-safe-stringify@2.1.1 None 0 39.7 kB matteo.collina
npm/fixpack@4.0.0 filesystem +1 13.7 kB henrikjoreteg
npm/font-awesome-assets@0.0.9 filesystem 0 151 kB titanism
npm/gemoji@6.1.0 None 0 395 kB wooorm
npm/get-caller-file@2.0.5 None 0 4.72 kB stefanpenner
npm/get-port@5.1.1 network 0 8.74 kB sindresorhus
npm/github-markdown-css@4.0.0 None 0 20 kB sindresorhus
npm/globby@11.1.0 filesystem +1 24.9 kB sindresorhus
npm/gulp-babel@8.0.0 unsafe 0 8.91 kB loganfsmyth
npm/gulp-cli@2.3.0 environment, filesystem, network, unsafe 0 60.9 kB phated
npm/gulp-concat@2.6.1 None 0 6.63 kB contra
npm/gulp-if@3.0.0 None 0 45 kB robrich
npm/gulp-imagemin@7.1.0 None +1 41.5 kB sindresorhus
npm/gulp-livereload@4.0.2 None 0 23.6 kB vohof
npm/gulp-postcss@9.0.1 None 0 14.3 kB unsoundscapes
npm/gulp-pug-linter@1.5.0 None 0 755 kB ilyakam
npm/gulp@4.0.2 None 0 20.9 kB phated
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-symbols@1.0.3 None 0 20.6 kB ljharb
npm/hasha@5.2.2 filesystem +1 21.9 kB sindresorhus
npm/highlight.js@10.7.3 None 0 1.71 MB highlightjs_bot
npm/html5-history-api@4.2.10 None 0 122 kB devote
npm/humanize-string@2.1.0 None 0 3.8 kB sindresorhus
npm/ieee754@1.2.1 None 0 6.8 kB feross
npm/inherits@2.0.4 None 0 3.96 kB isaacs
npm/ip@1.1.5 None 0 35.7 kB indutny
npm/is-extglob@2.1.1 None 0 6.22 kB jonschlinkert
npm/is-string-and-not-blank@0.0.2 None 0 13.5 kB niftylettuce
npm/is-typedarray@1.0.0 None 0 4.41 kB hughsk
npm/isarray@1.0.0 None 0 3.89 kB juliangruber
npm/isbot@3.4.6 None 0 56.7 kB omrilotan
npm/isobject@3.0.1 None 0 6.93 kB doowb
npm/jquery-lazy@1.7.11 None 0 146 kB eisbehr
npm/jquery-placeholder@2.3.1 None 0 16.1 kB feross
npm/jquery.pointer-events-polyfill@0.2.4 None 0 33.5 kB screeny05
npm/jquery@3.5.1 None 0 1.32 MB timmywil
npm/js-tokens@4.0.0 None 0 15.1 kB lydell
npm/kind-of@6.0.3 None 0 22.8 kB doowb
npm/koa-ctx-paginate@0.0.6 None 0 17.1 kB niftylettuce
npm/koa-views-render@0.0.1 None 0 156 kB niftylettuce
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/mandarin@4.2.0 environment, filesystem +1 26.1 kB niftylettuce
npm/manifest-rev@1.0.3 environment 0 12.7 kB shaunwarman
npm/markdown-it-emoji@2.0.2 None 0 201 kB vitaly
npm/markdown-it-github-headings@2.0.0 None 0 17.6 kB flet
npm/markdown-it-highlightjs@3.6.0 None 0 7.28 kB valeriangalliat
npm/markdown-it-task-checkbox@1.0.6 None 0 76.9 kB linsir
npm/markdown-it@13.0.2 Transitive: environment, filesystem +1 735 kB vitaly
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/mime-db@1.52.0 None 0 206 kB dougwilson
npm/mime@2.6.0 None 0 60.1 kB broofa
npm/mongodb-memory-server@6.10.0 None 0 3.88 kB nodkz
npm/mongoose-common-plugin@2.0.2 None 0 18.7 kB niftylettuce
npm/mongoose-json-select@0.2.1 None 0 8.18 kB nkzawa
npm/mongoose-omit-common-fields@0.0.6 None 0 11.6 kB niftylettuce
npm/mongoose-unique-validator@2.0.3 None 0 70.4 kB viveleroi
npm/mongoose@5.13.14 network 0 1.96 MB vkarpov15
npm/ms@2.1.3 None 0 6.72 kB styfle
npm/nodemailer-base64-to-s3@3.0.2 environment, filesystem 0 648 kB niftylettuce
npm/nodemailer@6.7.3 environment, filesystem, network, shell 0 481 kB andris
npm/numeral@2.0.6 None 0 336 kB adamwdraper
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/otplib@12.0.1 None 0 25.6 kB geraldyeo
npm/p-map@4.0.0 None 0 8.69 kB sindresorhus
npm/p-series@2.1.0 None 0 5.17 kB sindresorhus
npm/parse-logs@1.0.0 None 0 21.7 kB niftylettuce
npm/parseurl@1.3.3 None 0 10.3 kB dougwilson
npm/passport-local-mongoose@6.3.0 None 0 42.8 kB saintedlama
npm/passport-otp-strategy@1.0.1 None +1 205 kB ejhayes
npm/path-is-absolute@1.0.1 None 0 3.62 kB sindresorhus
npm/path-key@3.1.1 None 0 4.55 kB sindresorhus
npm/picomatch@2.3.1 None 0 90 kB mrmlnc
npm/pino@6.14.0 None 0 337 kB matteo.collina
npm/pluralize@8.0.0 None 0 17.7 kB blakeembrey
npm/popper.js@1.16.1 None 0 1.72 MB fezvrasta
npm/prepare-stack-trace@0.0.4 None 0 10.1 kB niftylettuce
npm/process-nextick-args@2.0.1 None 0 3.17 kB cwmma
npm/pug@3.0.2 environment, eval, filesystem 0 59.7 kB pug-bot
npm/qrcode@1.5.0 filesystem 0 182 kB soldair
npm/qs@6.10.3 None 0 216 kB ljharb
npm/remove-trailing-separator@1.1.0 None 0 4.25 kB darsain
npm/reserved-email-addresses-list@0.0.8 None 0 21.6 kB niftylettuce
npm/resolve-from@5.0.0 filesystem, unsafe 0 5.82 kB sindresorhus
npm/rev-hash@3.0.0 None 0 3.32 kB sindresorhus
npm/safe-buffer@5.1.2 None 0 31.7 kB feross
npm/safer-buffer@2.1.2 None 0 42.3 kB chalker
npm/sanitize-html@2.7.0 None 0 75.6 kB boutell
npm/sax@1.2.1 None 0 66.8 kB isaacs
npm/set-blocking@2.0.0 None 0 4.22 kB bcoe
npm/signal-exit@3.0.7 None 0 9.96 kB isaacs
npm/signale@1.4.0 None 0 37.2 kB klaussinani
npm/source-map@0.5.7 None 0 766 kB tromey
npm/speakingurl@14.0.1 None 0 167 kB pid
npm/stacktrace-js@2.0.2 None 0 1.46 MB eriwen
npm/statuses@2.0.1 None 0 12.1 kB dougwilson
npm/strip-json-comments@3.1.1 None 0 6.96 kB sindresorhus
npm/striptags@3.2.0 None 0 17.9 kB ericnorris
npm/superagent@6.1.0 environment, filesystem, network 0 744 kB niftylettuce
npm/sweetalert2@8.19.0 None 0 562 kB limonte
npm/titleize@2.1.0 None 0 3.19 kB sindresorhus
npm/toidentifier@1.0.1 None 0 4.68 kB dougwilson
npm/type-detect@4.0.8 None 0 42.1 kB chaijs
npm/uncaught@0.0.5 None 0 30.7 kB al88
npm/unpipe@1.0.0 None 0 4.31 kB dougwilson
npm/util-deprecate@1.0.2 None 0 5.48 kB tootallnate
npm/utils-merge@1.0.1 None 0 3.72 kB jaredhanson
npm/validator@13.7.0 None 0 646 kB profnandaa
npm/xtend@4.0.2 None 0 6.46 kB raynos
npm/yargs-parser@20.2.9 environment, filesystem 0 124 kB oss-bot
npm/zxcvbn@4.4.2 None 0 3.46 MB wheels

🚮 Removed packages: npm/@babel/code-frame@7.16.7, npm/@babel/compat-data@7.17.7, npm/@babel/helper-compilation-targets@7.17.7, npm/@babel/helper-create-class-features-plugin@7.17.9, npm/@babel/helper-function-name@7.17.9, npm/@babel/helper-member-expression-to-functions@7.17.7, npm/@babel/helper-module-imports@7.16.7, npm/@babel/helper-module-transforms@7.17.7, npm/@babel/helper-plugin-utils@7.16.7, npm/@babel/highlight@7.17.9, npm/@babel/parser@7.17.9, npm/@babel/plugin-proposal-unicode-property-regex@7.16.7, npm/@babel/plugin-transform-dotall-regex@7.16.7, npm/@babel/runtime@7.17.9, npm/@babel/traverse@7.17.9, npm/@babel/types@7.17.0, npm/@grpc/proto-loader@0.6.9, npm/@jridgewell/trace-mapping@0.3.9, npm/@protobufjs/aspromise@1.1.2, npm/@sinonjs/commons@1.8.3, npm/@sinonjs/fake-timers@6.0.1, npm/@types/babel-types@7.0.11, npm/@types/bson@4.0.5, npm/@types/json-schema@7.0.11, npm/@types/long@4.0.2, npm/@types/mdast@3.0.10, npm/@types/minimatch@3.0.5, npm/@types/node@17.0.29, npm/@types/unist@2.0.6, npm/acorn-jsx@5.3.2, npm/acorn-node@1.8.2, npm/acorn@8.7.1, npm/ajv@6.12.6, npm/ansi-escapes@4.3.2, npm/ansi-wrap@0.1.0, npm/arr-flatten@1.1.0, npm/arr-map@2.0.2, npm/array-each@1.0.1, npm/arrify@2.0.1, npm/assert-plus@1.0.0, npm/assert@1.5.0, npm/async-done@1.3.2, npm/autoprefixer@9.8.8, npm/babel-runtime@6.26.0, npm/bin-wrapper@4.1.0, npm/bl@4.1.0, npm/bn.js@5.2.0, npm/boolbase@1.0.0, npm/brorand@1.1.0, npm/browser-pack@6.1.0, npm/browserify-aes@1.2.0, npm/browserify-rsa@4.1.0, npm/browserify-zlib@0.2.0, npm/browserslist@4.20.3, npm/bson@1.1.6, npm/buffer@5.2.1, npm/bytes@3.1.2, npm/cached-path-relative@1.1.0, npm/call-bind@1.0.2, npm/caniuse-lite@1.0.30001332, npm/capitalize@2.0.4, npm/caseless@0.12.0, npm/caw@2.0.1, npm/character-parser@2.2.0, npm/chokidar@3.5.3, npm/cipher-base@1.0.4, npm/cli-boxes@2.2.1, npm/clone-response@1.0.2, npm/combine-source-map@0.8.0, npm/combined-stream@1.0.8, npm/common-tags@1.8.2, npm/component-emitter@1.3.0, npm/compressible@2.0.18, npm/concat-stream@1.6.2, npm/config-chain@1.1.13, npm/console-control-strings@1.1.0, npm/constants-browserify@1.0.0, npm/content-disposition@0.5.4, npm/convert-source-map@1.8.0, npm/cookiejar@2.1.3, npm/copy-to@2.0.1, npm/core-js-compat@3.22.2, npm/core-js@2.6.12, npm/create-hash@1.2.0, npm/create-hmac@1.1.7, npm/cross-spawn@7.0.3, npm/crypto-browserify@3.12.0, npm/css-color-names@0.0.4, npm/d@1.0.1, npm/debug@4.3.4, npm/decompress-response@3.3.0, npm/decompress-tar@4.1.1, npm/decompress@4.2.1, npm/deep-equal@1.0.1, npm/deep-is@0.1.4, npm/denque@1.5.1, npm/depd@1.1.2, npm/dom-serializer@1.4.1, npm/domain-browser@1.2.0, npm/domhandler@4.3.1, npm/domutils@2.8.0, npm/dot-prop@5.3.0, npm/duplexer2@0.1.4, npm/duplexify@4.1.2, npm/ecdsa-sig-formatter@1.0.11, npm/end-of-stream@1.4.4, npm/enquirer@2.3.6, npm/env-editor@0.4.2, npm/error-ex@1.3.2, npm/es-abstract@1.19.5, npm/es5-ext@0.10.61, npm/es6-iterator@2.0.3, npm/es6-symbol@3.1.3, npm/es6-weak-map@2.0.3, npm/eslint-plugin-import@2.26.0, npm/eslint-plugin-prettier@3.4.1, npm/eslint-scope@5.1.1, npm/eslint-template-visitor@2.3.2, npm/eslint-utils@2.1.0, npm/espree@7.3.1, npm/espurify@2.1.1, npm/esquery@1.4.0, npm/estraverse@4.3.0, npm/evp_bytestokey@1.0.3, npm/expand-tilde@2.0.2, npm/jsonstream@1.3.5

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 NoteSource
Install scripts npm/mongodb-memory-server@6.10.0
  • Install script: postinstall
  • Source: node ./postinstall.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

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/mongodb-memory-server@6.10.0

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.

None yet

2 participants