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.

High severity vulnerabilities in the System.Net.Http@4.3.0 (Dependency on NETStandard.Library@1.6.1)

See original GitHub issue

Description

IMPORTANT: if the defect is reproduced only in a workflow from within the Visual Studio IDE then do not report the issue here - instead, please report it using Visual Studio’s “Send Feedback” option that can be accessed from the Help menu OR using this link https://developercommunity.visualstudio.com.

For a defect specific to the MSTest V2 test framework, describe the issue you’ve observed.

Steps to reproduce

Create a test project using the package - MSTest.TestAdapter@1.4.0 or MSTest.TestAdapter@12.2.4 Add a sample test and run snyk test

Expected behavior

No high severity vulnerabilities identified. Alternatively upgrade the System.Net.Http Package?

Actual behavior

MSTest.TestAdapter@1.4.0 has a dependency on NETStandard.Library@1.6.1 which has a dependency on System.Net.Http@4.3.0. This package has some vulnerabilities The information can be found here : https://snyk.io/vuln/SNYK-DOTNET-SYSTEMNETHTTP-60045

Environment

Tested from VS code/ Visual Studio. Test Adapter and Test framework used : 1.4.0 Same occurs even after upgrading to MSTest.TestAdapter 2.2.4

AB#1575879

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
nohwndcommented, Jun 8, 2021

We will investigate the update in the latest version of mstest.

0reactions
Evangelinkcommented, Aug 25, 2022

Fixed by #1163

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strange issue with System.Net.Http 4.2.0.0 not found
I have absolutely no clue, why the System.Net.Http assembly is not found at all – there is even a assembly reference in my...
Read more >
system.net.http vulnerabilities
Learn more about known vulnerabilities in the system.net.http package. Provides a programming interface for modern HTTP applications, including HTTP client ...
Read more >
Compromised 3rd party libraries - .NET SDK
NET SDK (v3.2.4) and DependencyInjection v3.2.0 are using 2 libraries that have security alerts on them ranked as “High”. Can you please upgrade ......
Read more >
CVE-2017-0249 (High) detected in system.net.http.4.3. ...
An elevation of privilege vulnerability exists when the ASP.NET Core fails to properly sanitize web requests. ... Base Score Metrics: Exploitability Metrics:.
Read more >
System.Net.Http 4.3.0
This package has at least one vulnerability with high severity. It may lead to specific problems in your project. Try updating the package ......
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