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

Can this override a dependency version? #142

Open
katlim-br opened this issue Jun 4, 2024 · 0 comments
Open

Can this override a dependency version? #142

katlim-br opened this issue Jun 4, 2024 · 0 comments

Comments

@katlim-br
Copy link

Hello,

My question is: can this package override a dependency in a powershell module that I cannot control?

(Sorry for being lazy not trying it myself, but I'm a newbie in PS, so it will take me just longer)

Some context:

I have a Docker image that is being flagged by our security tool for [System.Net.Http:4.3.0/CVE-2018-8292]. After digging more, the image installs the module ExchangeOnlineManagement, which we suspect uses that version of System.Net.Http even though the image installs PS v7.5 (which supposedly uses the latest System.Net.Http version that is already patched).

(Sorry if I'm writing some inaccuracies. That is the best way I understand the issue).

What I want to do is something like node has that can allow you to override a dependency version that way, we can fix the security issue without having to repackage/reinstall the dependency.

Is this possible by using this package? Or is it only used to publish our own package?

Thanks in advance

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

No branches or pull requests

1 participant