microsoft / microsoft/sqlmanagementobjects

Some Dependencies are flagged as vulnerable

Aperta
#179 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
C#
Stelle
143
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I've only noticed this after the folks at github updated their github action windows runners to use a version of visual studio that has the NuGetAuditMode set to 'all', when the default used to be 'direct'. This means that any transitive Packages with security vulnerabilities are now flagged up as warnings, when previously you'd not see anything if you had -warnaserror set.

The following dependencies of sqlmanagementobjects are flagged as vulnerable, but I'd also like to highlight that a lot of the dependencies referenced in general are massively out of date:

Azure.Identity 1.10.3 (Latest 1.13.1)
Microsoft.Identity.Client 4.56.0 (Latest 4.66.2)
Microsoft.IdentityModel.JsonWebTokens 6.24.0 (Latest 8.2.1)
System.Formats.Asn1 5.0.0 (Latest 9.0.0)
System.IdentityModel.Tokens.Jwt 6.24.0 (latest 8.2.1)

At the moment, I've had to go through my projects and set the nugetauditmode back to direct to replicate the original behaviour so we have our builds back up and running - but obviously we can't stay in this mode forever, especially with a known security issue.

Are there any plans to update the dependencies for sqlmanagementobjects, or am I better off just trying to find an alternative?

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia individuando le dichiarazioni delle dipendenze per sqlmanagementobjects e verifica come il runner Windows di GitHub Actions compila il progetto con NuGetAuditMode impostato su all. Aggiorna le dipendenze vulnerabili se compatibile, quindi esegui la compilazione del progetto con l’auditing transitivo abilitato; il lavoro è completato quando la compilazione riesce senza gli avvisi sulle vulnerabilità segnalati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp, github-actions
Ambito
build-system, ci-cd, security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.