question: how handle `affected[].ranges[].events` + `affectedversions-field`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- github, json
- Ambito
- documentation, security
Direzione di ricerca
Inizia leggendo lo schema OSV referenziato e l’avviso GHSA-h4j7-5rxr-p4wc, quindi confronta i relativi intervalli, le versioni e la GitHub UI con la issue Microsoft collegata. Il lavoro è completato quando viene spiegato come interpretare insieme questi campi e viene documentata qualsiasi discrepanza; il payload non indica file del repository né test da eseguire.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Hello! Thanks for your work!
I found 1 confusing case:
https://github.com/advisories/GHSA-h4j7-5rxr-p4wc advisory contains affected[].ranges[].events + affectedversions-field:
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.Build.Tasks.Core"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "17.13.9"
},
{
"fixed": "17.14.8"
}
]
}
],
"versions": [
"17.13.9"
]
}
OSV schema says:
affected[].versions field
The affected object’s versions field is a JSON array of strings. Each string is a single affected version in whatever version syntax is used by the given package ecosystem.
...
affected[].ranges[].events fields
The ranges object’s events field is a JSON array of objects. Each object describes a single version that either:
Introduces a vulnerability: {"introduced": string}
Fixes a vulnerability: {"fixed": string}
IIUC it means that affected versions are >=17.13.9 < 17.14.8 range + 17.13.9 version.
But this range contains 17.13.9 so it means that affected versions are >=17.13.9 < 17.14.8 range
GitHub UI shows the following versions:
This is correct for microsoft information - https://github.com/dotnet/msbuild/issues/118469
But this is not equal OSV file.
Can you help to understand this case?
Perhaps i am missing something.
Best Regards, Dmitriy
Related Issues:
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 2.5k
- Fork
- 772
- Merge medio
- 3g 15h
- PR unite (30g)
- 46
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/advisory-database
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/advisory-database#9255 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/advisory-database#9164 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/advisory-database#8994 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/advisory-database#8898 · 4 commenti · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/advisory-database#8841 ·
Tutte le issue di github/advisory-database
Issue simili
-
content
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
GDQuest/learn-gdscript#1395 ·
-
rules
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
HttpClient
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
symfony/symfony-docs#23092 ·
-
[Docs Request]: 模块修改建议 & 增加 Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
huggingface/sentence-transformers#4074 ·