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

deps: Update dependency NuGet.Packaging to version 6.4.3 [SECURITY] - autoclosed #166

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 17, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
NuGet.Packaging (source) 6.4.0 -> 6.4.3 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-0057

Description

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability.

A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic.

Affected software

NuGet & NuGet Packages

  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.8.0 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.7.0 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.6.1 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.4.2 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.3.3 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.0.5 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 5.11.5 version or earlier.

.NET SDK(s)

  • Any .NET SDK 6.0.126 or earlier, or 6.0.418 or earlier.
  • Any .NET SDK 7.0.115 or earlier, or 7.0.312 or earlier, or 7.0.405 or earlier.
  • Any .NET SDK 8.0.101 or earlier.

Patches

To fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.

Other details

Announcement for this issue can be found at https://github.com/NuGet/Announcements/issues/71

MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Updates-dependency: NuGet.Packaging
Updates-dependency-from-version: 6.4.0
Updates-dependency-to-version: 6.4.3
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 17, 2024
Copy link
Contributor Author

renovate bot commented Jun 17, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: src/Utilities.Test/packages.lock.json
[15:42:34.263] INFO (57): Installing tool [email protected]...
[15:42:37.344] FATAL (57): Command failed with exit code 145: /opt/containerbase/tools/dotnet/dotnet new
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'new' does not exist.
  * You intended to execute a .NET SDK command:
      A compatible .NET SDK was not found.

Requested SDK version: 7.0.101
global.json file: /tmp/renovate/repos/github/ap0llo/utilities/global.json

Installed SDKs:

Install the [7.0.101] .NET SDK or update [/tmp/renovate/repos/github/ap0llo/utilities/global.json] to match an installed SDK.

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
8.0.302 [/opt/containerbase/tools/dotnet/sdk]
    err: {
      "type": "Error",
      "message": "Command failed with exit code 145: /opt/containerbase/tools/dotnet/dotnet new\nThe command could not be loaded, possibly because:\n  * You intended to execute a .NET application:\n      The application 'new' does not exist.\n  * You intended to execute a .NET SDK command:\n      A compatible .NET SDK was not found.\n\nRequested SDK version: 7.0.101\nglobal.json file: /tmp/renovate/repos/github/ap0llo/utilities/global.json\n\nInstalled SDKs:\n\nInstall the [7.0.101] .NET SDK or update [/tmp/renovate/repos/github/ap0llo/utilities/global.json] to match an installed SDK.\n\nLearn about SDK resolution:\nhttps://aka.ms/dotnet/sdk-not-found\n8.0.302 [/opt/containerbase/tools/dotnet/sdk]",
      "stack":
          Error: Command failed with exit code 145: /opt/containerbase/tools/dotnet/dotnet new
          The command could not be loaded, possibly because:
            * You intended to execute a .NET application:
                The application 'new' does not exist.
            * You intended to execute a .NET SDK command:
                A compatible .NET SDK was not found.
          
          Requested SDK version: 7.0.101
          global.json file: /tmp/renovate/repos/github/ap0llo/utilities/global.json
          
          Installed SDKs:
          
          Install the [7.0.101] .NET SDK or update [/tmp/renovate/repos/github/ap0llo/utilities/global.json] to match an installed SDK.
          
          Learn about SDK resolution:
          https://aka.ms/dotnet/sdk-not-found
          8.0.302 [/opt/containerbase/tools/dotnet/sdk]
              at makeError (/snapshot/dist/containerbase-cli.js:39455:13)
              at handlePromise (/snapshot/dist/containerbase-cli.js:40170:29)
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
              at async InstallDotnetService.install (/snapshot/dist/containerbase-cli.js:42143:5)
              at async InstallToolService.execute (/snapshot/dist/containerbase-cli.js:52185:11)
              at async InstallToolShortCommand.execute (/snapshot/dist/containerbase-cli.js:52434:14)
              at async InstallToolShortCommand.validateAndExecute (/snapshot/dist/containerbase-cli.js:2428:26)
              at async _Cli.run (/snapshot/dist/containerbase-cli.js:3541:22)
              at async _Cli.runExit (/snapshot/dist/containerbase-cli.js:3549:28)
              at async main (/snapshot/dist/containerbase-cli.js:52628:3)
      "shortMessage": "Command failed with exit code 145: /opt/containerbase/tools/dotnet/dotnet new",
      "command": "/opt/containerbase/tools/dotnet/dotnet new",
      "escapedCommand": "\"/opt/containerbase/tools/dotnet/dotnet\" new",
      "exitCode": 145,
      "stdout": "8.0.302 [/opt/containerbase/tools/dotnet/sdk]",
      "stderr": "The command could not be loaded, possibly because:\n  * You intended to execute a .NET application:\n      The application 'new' does not exist.\n  * You intended to execute a .NET SDK command:\n      A compatible .NET SDK was not found.\n\nRequested SDK version: 7.0.101\nglobal.json file: /tmp/renovate/repos/github/ap0llo/utilities/global.json\n\nInstalled SDKs:\n\nInstall the [7.0.101] .NET SDK or update [/tmp/renovate/repos/github/ap0llo/utilities/global.json] to match an installed SDK.\n\nLearn about SDK resolution:\nhttps://aka.ms/dotnet/sdk-not-found",
      "cwd": "/tmp/renovate/repos/github/ap0llo/utilities",
      "failed": true,
      "timedOut": false,
      "isCanceled": false,
      "killed": false
    }
[15:42:38.333] INFO (57): Installed tool dotnet with errors in 4s.

@renovate renovate bot changed the title deps: Update dependency NuGet.Packaging to version 6.4.3 [SECURITY] deps: Update dependency NuGet.Packaging to version 6.4.3 [SECURITY] - autoclosed Aug 6, 2024
@renovate renovate bot closed this Aug 6, 2024
@renovate renovate bot deleted the renovate/nuget-NuGet.Packaging-vulnerability branch August 6, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants