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

Partial fix on CVE-2018-8292 #7238

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Arkatufus
Copy link
Contributor

Partially Fix #7234

Notes

The remaining CVE warning (all MultiNode tests) should disappear as soon as we reference a new release of MNTR test adapter that references this release.

Changes

  • Make sure that all MultiNode test projects references xunit package
  • Make sure that Akka.Persistence.Sql.Common references a clean version of System.Text.RegularExpressions
PS D:\git\akkadotnet\akka.net\src> dotnet list package --vulnerable --include-transitive

The following sources were used:
   https://api.nuget.org/v3/index.json

The given project `PingPong` has no vulnerable packages given the current sources.
The given project `Akka.Remote.Tests` has no vulnerable packages given the current sources.
The given project `Akka.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Remote` has no vulnerable packages given the current sources.
The given project `Akka` has no vulnerable packages given the current sources.
The given project `Akka.TestKit.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Tests.Shared.Internals` has no vulnerable packages given the current sources.
The given project `Akka.Cluster` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Remote.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.Remote.TestKit.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.TCK` has no vulnerable packages given the current sources.
The given project `Akka.Persistence` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.TCK.Tests` has no vulnerable packages given the current sources.
The given project `Akka.TestKit.Xunit2` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Sql.Common` has no vulnerable packages given the current sources.
Project `Akka.Cluster.Tests.MultiNode` has the following vulnerable packages
   [net8.0]:
   Transitive Package                                   Resolved   Severity   Advisory URL                              
   > System.Net.Http                                    4.1.0      High       https://github.com/advisories/GHSA-7jgj-8wvc-jh57
   > System.Security.Cryptography.X509Certificates      4.1.0      High       https://github.com/advisories/GHSA-7mfr-774f-w5r9

Project `Akka.Remote.Tests.MultiNode` has the following vulnerable packages
   [net8.0]:
   Transitive Package                                   Resolved   Severity   Advisory URL

   > System.Net.Http                                    4.1.0      High       https://github.com/advisories/GHSA-7jgj-8wvc-jh57
   > System.Security.Cryptography.X509Certificates      4.1.0      High       https://github.com/advisories/GHSA-7mfr-774f-w5r9

The given project `Akka.Persistence.Sqlite` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Sqlite.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Serialization.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Sharding` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Tools` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Tools.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Sharding.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Tests.Performance` has no vulnerable packages given the current sources.
The given project `Akka.Remote.Tests.Performance` has no vulnerable packages given the current sources.
The given project `Akka.Streams` has no vulnerable packages given the current sources.
The given project `Akka.Streams.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Streams.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.API.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Streams.TestKit.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Query` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Query.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Streams.Tests.Performance` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Query.Sql` has no vulnerable packages given the current sources.
Project `Akka.Cluster.Tools.Tests.MultiNode` has the following vulnerable packages
   [net8.0]:
   Transitive Package                                   Resolved   Severity   Advisory URL

   > System.Net.Http                                    4.1.0      High       https://github.com/advisories/GHSA-7jgj-8wvc-jh57
   > System.Security.Cryptography.X509Certificates      4.1.0      High       https://github.com/advisories/GHSA-7mfr-774f-w5r9

The given project `Akka.Persistence.Sql.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.Streams.Tests.TCK` has no vulnerable packages given the current sources.
Project `Akka.Cluster.Sharding.Tests.MultiNode` has the following vulnerable packages
   [net8.0]:
   Transitive Package                                   Resolved   Severity   Advisory URL

   > System.Net.Http                                    4.1.0      High       https://github.com/advisories/GHSA-7jgj-8wvc-jh57
   > System.Security.Cryptography.X509Certificates      4.1.0      High       https://github.com/advisories/GHSA-7mfr-774f-w5r9

The given project `Akka.DistributedData` has no vulnerable packages given the current sources.
The given project `Akka.DistributedData.Tests` has no vulnerable packages given the current sources.
Project `Akka.DistributedData.Tests.MultiNode` has the following vulnerable packages
   [net8.0]:
   Transitive Package                                   Resolved   Severity   Advisory URL

   > System.Net.Http                                    4.1.0      High       https://github.com/advisories/GHSA-7jgj-8wvc-jh57
   > System.Security.Cryptography.X509Certificates      4.1.0      High       https://github.com/advisories/GHSA-7mfr-774f-w5r9

The given project `Akka.Serialization.Hyperion` has no vulnerable packages given the current sources.
The given project `Akka.Serialization.Hyperion.Tests` has no vulnerable packages given the current sources.
The given project `Akka.TestKit.Xunit` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Tests.Performance` has no vulnerable packages given the current sources.
The given project `Akka.DistributedData.LightningDB` has no vulnerable packages given the current sources.
The given project `RemotePingPong` has no vulnerable packages given the current sources.
The given project `ClusterSharding.Node` has no vulnerable packages given the current sources.
The given project `ChatMessages` has no vulnerable packages given the current sources.
The given project `ChatServer` has no vulnerable packages given the current sources.
The given project `ChatClient` has no vulnerable packages given the current sources.
The given project `Samples.Cluster.Simple` has no vulnerable packages given the current sources.
The given project `Samples.Cluster.Transformation` has no vulnerable packages given the current sources.
The given project `Akka.FSharp` has no vulnerable packages given the current sources.
The given project `Akka.FSharp.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Benchmarks` has no vulnerable packages given the current sources.
The given project `SpawnBenchmark` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.FSharp` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.TestKit` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.TestKit.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.TestKit.Xunit2` has no vulnerable packages given the current sources.
The given project `Akka.Docs.Tests` has no vulnerable packages given the current sources.
The given project `Akka.Docs.Tutorials` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Metrics` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Metrics.Tests` has no vulnerable packages given the current sources.
Project `Akka.Cluster.Metrics.Tests.MultiNode` has the following vulnerable packages
   [net8.0]:
   Transitive Package                                   Resolved   Severity   Advisory URL

   > System.Net.Http                                    4.1.0      High       https://github.com/advisories/GHSA-7jgj-8wvc-jh57
   > System.Security.Cryptography.X509Certificates      4.1.0      High       https://github.com/advisories/GHSA-7mfr-774f-w5r9

The given project `Akka.Coordination` has no vulnerable packages given the current sources.
The given project `Akka.Coordination.Tests` has no vulnerable packages given the current sources.
The given project `TcpEchoService.Server` has no vulnerable packages given the current sources.
The given project `Akka.Discovery` has no vulnerable packages given the current sources.
The given project `Akka.Discovery.Tests` has no vulnerable packages given the current sources.
The given project `Samples.Cluster.AdaptiveGroup` has no vulnerable packages given the current sources.
The given project `Samples.Cluster.Metrics` has no vulnerable packages given the current sources.
The given project `Samples.Cluster.Metrics.Common` has no vulnerable packages given the current sources.
The given project `Akka.DependencyInjection` has no vulnerable packages given the current sources.
The given project `Akka.DependencyInjection.Tests` has no vulnerable packages given the current sources.
The given project `Samples.Akka.AspNetCore` has no vulnerable packages given the current sources.
The given project `SerializationBenchmarks` has no vulnerable packages given the current sources.
The given project `DDataStressTest` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Benchmarks` has no vulnerable packages given the current sources.
The given project `ShoppingCart` has no vulnerable packages given the current sources.
The given project `HelloWorld` has no vulnerable packages given the current sources.
The given project `Akka.AspNetCore` has no vulnerable packages given the current sources.
The given project `AkkaHeadlesssService` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Custom` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Custom.Tests` has no vulnerable packages given the current sources.
The given project `AkkaWindowsService` has no vulnerable packages given the current sources.
The given project `Akka.Cluster.Cpu.Benchmark` has no vulnerable packages given the current sources.
The given project `SampleSubscriber` has no vulnerable packages given the current sources.
The given project `SamplePublisher` has no vulnerable packages given the current sources.
The given project `SampleDestination` has no vulnerable packages given the current sources.
The given project `SampleSender` has no vulnerable packages given the current sources.
The given project `PersistenceExample` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Query.InMemory` has no vulnerable packages given the current sources.
The given project `Akka.Persistence.Query.InMemory.Tests` has no vulnerable packages given the current sources.
The given project `ClusterToolsExample.Shared` has no vulnerable packages given the current sources.
The given project `ClusterToolsExample.Seed` has no vulnerable packages given the current sources.
The given project `ClusterToolsExample.Node` has no vulnerable packages given the current sources.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This reference is added to resolve CVE-2018-8292 because System.Data.Common references the bad version
of this package. This can be removed if System.Data.Common ever release a clean version in the future
-->
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) June 7, 2024 15:44
@Aaronontheweb
Copy link
Member

Looks like the MNTR issues were a racy failure unrelated to these changes.

@Aaronontheweb Aaronontheweb merged commit 525a282 into akkadotnet:dev Jun 7, 2024
10 of 12 checks passed
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 this pull request may close these issues.

CVE-2018-8292
2 participants