You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct a bug with AddPkgInfo commit event assembly (#2280)
While investigating an unexpected false positive for CVE-2019-14248 it
was discovered that commit event ranges were being incorrectly
assembled, and all of the events were being inserted into a single
element, rather than one per element, i.e.
```
{
"ranges": [
{
"type": "GIT",
"repo": "https://github.com/netwide-assembler/nasm",
"events": [
{
"introduced": "9a1216a1efa0ccb48e5df97acc763ea3de71e0ce",
"last_affected": "74246c499ea4313fb8837977dc0c135fc50567c0"
}
]
}
]
}
```
instead of:
```
{
"ranges": [
{
"type": "GIT",
"repo": "https://github.com/netwide-assembler/nasm",
"events": [
{
"introduced": "9a1216a1efa0ccb48e5df97acc763ea3de71e0ce",
},
{
"last_affected": "74246c499ea4313fb8837977dc0c135fc50567c0"
}
]
}
]
}
```
which produced an invalid OSV record.
0 commit comments