Skip to content

Commit

Permalink
Add introduced version to Debian CVE entries (#2104)
Browse files Browse the repository at this point in the history
Add introduce versions "0" to Debian CVE conversion entries.
  • Loading branch information
hogo6002 authored Apr 11, 2024
1 parent 216c120 commit a604a94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vulnfeeds/cmd/debian/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ func updateOSVPkgInfos(pkgName string, cveId string, releases map[string]Release
continue
}
pkgInfo.VersionInfo = cves.VersionInfo{
AffectedVersions: []cves.AffectedVersion{{Fixed: release.FixedVersion}},
AffectedVersions: []cves.AffectedVersion{{Introduced: "0", Fixed: release.FixedVersion}},
}
} else {
pkgInfo.VersionInfo = cves.VersionInfo{
AffectedVersions: []cves.AffectedVersion{{Introduced: "0"}},
}
}
pkgInfo.EcosystemSpecific["urgency"] = release.Urgency
Expand Down

0 comments on commit a604a94

Please sign in to comment.