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

Pipeline failing on Snyk vulnerability check #118

Closed
julsco opened this issue Jun 6, 2024 · 4 comments · Fixed by #164
Closed

Pipeline failing on Snyk vulnerability check #118

julsco opened this issue Jun 6, 2024 · 4 comments · Fixed by #164

Comments

@julsco
Copy link

julsco commented Jun 6, 2024

Everything works well in my local, but failing in the pipeline.

Issues with no direct upgrade or patch:
  ✗ Missing Release of Resource after Effective Lifetime [Medium Severity][https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116] in inflight@1.0.6
    introduced by @tato30/vue-pdf@1.10.0 > pdfjs-dist@4.2.67 > canvas@2.11.2 > @mapbox/node-pre-gyp@1.0.11 > rimraf@3.0.2 > glob@7.1.6 > inflight@1.0.6
  No upgrade or patch available
@TaTo30
Copy link
Owner

TaTo30 commented Jul 10, 2024

That vulnerability comes from this project that had been deprecated on may: https://github.com/isaacs/inflight-DEPRECATED-DO-NOT-USE

pdf.js still depends on canvas@2.11.2, meanwhile the dependency has not been updated this issue could not be fixed.

@emargareten
Copy link

@TaTo30 pdf.js already updated the version of canvas

@TaTo30
Copy link
Owner

TaTo30 commented Nov 20, 2024

Yup, I will release a new version with the new pdf.js version soon

@laserhybiz
Copy link

laserhybiz commented Nov 29, 2024

They actually changed the canvas dependency to @napi-rs/canvas (after first updating the canvas version...)

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 a pull request may close this issue.

4 participants