question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

posibility of a 1.4.18 release with less strict jszip version dependency

See original GitHub issue

Hi, @mwilliamson,

Issue Description

I noticed that a vulnerability is introduced in mammoth@1.4.17: Vulnerability CVE-2021-23413 affects package jszip (versions:❤️.7.0): https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 The above vulnerable package is referenced by mammoth@1.4.17 via: mammoth@1.4.17 ➔ jszip@2.5.0

Since mammoth@1.4.17 (10,434 downloads per week) is referenced by 41 downstream projects (e.g., @accordproject/markdown-cli 0.14.0 (latest version), @accordproject/markdown-docx 0.14.0 (latest version), @accordproject/markdown-transform 0.14.0 (latest version), @secrecy/front-utils 1.0.682 (latest version), @accordproject/ui-contract-editor 0.97.0 (latest version)), the vulnerability CVE-2021-23413 can be propagated into these downstream projects and expose security threats to them via the following package dependency paths: (1)@accordproject/markdown-cli@0.14.0 ➔ @accordproject/markdown-transform@0.14.0 ➔ @accordproject/markdown-docx@0.14.0 ➔ mammoth@1.4.17 ➔ jszip@2.5.0 (2)@secrecy/front-utils@1.0.682 ➔ mammoth@1.4.17 ➔ jszip@2.5.0

If mammoth@1.4.* removes the vulnerable package from the above version, then its fixed version can help downstream users decrease their pain.

Given the large number of downstream users, could you help update your package to remove the vulnerability from mammoth@1.4.17 ?

Fixing suggestions

In mammoth@1.4.18, you can kindly try to perform the following upgrade : jszip ~2.5.0 ➔ ~3.7.0;

Note: jszip@3.7.0(>=3.7.0) has fixed the vulnerability CVE-2021-23413. Of course, you are welcome to share other ways to resolve the issue.

Thank you for your attention to this issue.^_^

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mwilliamsoncommented, Aug 28, 2021

This should be addressed in 1.4.18.

0reactions
NL33commented, Aug 28, 2021

Just ran $ npm i mammoth again–installing mammoth 1.4.18–and can confirm no vulnerabilities reported. Thanks very much, @mwilliamson .

Read more comments on GitHub >

github_iconTop Results From Across the Web

posibility of a 1.4.18 release with less strict jszip version dependency
Hi, @mwilliamson,. Issue Description. I noticed that a vulnerability is introduced in mammoth@1.4.17: Vulnerability CVE-2021-23413 affects package jszip ...
Read more >
Source Packages in "jammy", Subsection misc - Ubuntu
... golang-github-aquasecurity-go-version (0.0~git20210121.637058c-2) [universe] ... haskell-dependent-sum-template (0.1.0.3-1build3) [universe] ...
Read more >
Debian -- Source Packages in "sid", Subsection misc
... golang-github-aquasecurity-go-dep-parser (0.0~git20220110.4a30ebc-3); golang-github-aquasecurity-go-version (0.0~git20210121.637058c-2) ...
Read more >
Compare Packages Between Distributions - DistroWatch.com
Often times it is useful to be able to compare the versions of different packages between two distributions. This can let us know...
Read more >
FormSG/CHANGELOG.md at develop · opengovsg ... - GitHub
feat: get better sort (and highlighting) in dropdown searches #5192; fix(deps): bump @opengovsg/spcp-auth-client from 1.4.17 to 1.4.18 #5204 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found