haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

CVE-2023-29331 (High) detected in system.security.cryptography.pkcs.7.0.1.nupkg #463

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2023-29331 - High Severity Vulnerability

Vulnerable Library - system.security.cryptography.pkcs.7.0.1.nupkg

Provides support for PKCS and CMS algorithms. Commonly Used Types: System.Security.Cryptography.Pkcs.EnvelopedCms

Library home page: https://api.nuget.org/packages/system.security.cryptography.pkcs.7.0.1.nupkg

Dependency Hierarchy: - microsoft.build.tasks.core.17.3.2.nupkg (Root Library) - :x: **system.security.cryptography.pkcs.7.0.1.nupkg** (Vulnerable Library)

Found in HEAD commit: 31343cebd57085b9266c06bec927a9a8d2fc5ab1

Found in base branch: main

Vulnerability Details

.NET, .NET Framework, and Visual Studio Denial of Service Vulnerability

Publish Date: 2023-06-14

URL: CVE-2023-29331

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-555c-2p6r-68mm

Release Date: 2023-06-14

Fix Resolution: Microsoft.NetCore.App.Runtime.linux-arm - 6.0.18,7.0.7, Microsoft.Windows.Compatibility - 6.0.6,7.0.3, System.Security.Cryptography.Pkcs - 6.0.3,7.0.2


Step up your Open Source Security Game with Mend here

farlee2121 commented 1 year ago

cross: #462

I looked into this vulnerability, it's build-only and shouldn't impact the published expecto packages.

The tricky bit is that the package is a transitive dependency and we can't upgrade all of the packaged that cause this dependency. To fix, we'd have to specify a version for this currently implicit dependency.