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.

Some dependencies have pending vulnerability issues

See original GitHub issue

Describe the bug We currently depend on some vulnerable packages, including node-vault and plugin-warn-if-update-available.

To Reproduce Steps to reproduce the behavior:

Install the ctl using npm install -g @fonoster/ctl and see the vulnerability notice.

Expected behavior All vulnerable packages should be replaced/updated.

Additional context I traced the issue to the now deprecated packages request and libnpm. If we find a suitable replacement for both of these libraries, fixing the issue should be straightforward.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
psanderscommented, Jun 9, 2022

Note to self:

Consider replacing node-vault with https://www.npmjs.com/package/hashi-vault-js

1reaction
psanderscommented, Mar 15, 2022

@BrayanMnz

You are correct those two packages do root. The challenge is that they are transitive dependencies which makes them a bit difficult to replace. The issue must be fixed at node-vault and plugin-warn-if-update-available..

The package node-vault has a PR to replace Request with Axios, but no action has been taken. At this point, I am inclined to fork both packages and fix the issue until the maintainers of those projects get up to date.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing security vulnerabilities in npm dependencies in less ...
So a better solution here would be to only delete the lines corresponding to the vulnerable package in your package-lock.json(or yarn.lock) file. Run...
Read more >
vulnerable dependency maven:org.yaml:snakeyaml
Unfortunately, Spring Boot 2.7.x still uses an older, vulnerable version of SnakeYAML (1.30). They still have not upgraded it to the last ...
Read more >
Zombie Dependencies - Dan Lorenc - Medium
Dependency ghosts are mostly harmless artifacts from another time, floating around in the dependency graph haunting anyone that dares to look.
Read more >
Vulnerability management in dependencies in CI / CD ... - BBVA
This post in 10 seconds. In this post we will address software dependency management: the security problems it implies, how to automate its ......
Read more >
Security Feature Detail Page - CKAN
Scanning Code and Dependencies for Potential Security Issues. As CKAN software is located on GitHub repositories, there are some inbuilt Security features that ......
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