Skip to content

[BREAKING] Improve fix version precision#214

Merged
prabhu merged 4 commits intomasterfrom
feature/fix-version-precision
May 1, 2025
Merged

[BREAKING] Improve fix version precision#214
prabhu merged 4 commits intomasterfrom
feature/fix-version-precision

Conversation

@prabhu
Copy link
Contributor

@prabhu prabhu commented May 1, 2025

This improves the fix version precision by including a new vers column in the cve_data table. Without this information, often an incorrect source_data was returned when a given CVE belongs to multiple ranges.

Breaking changes:

  • addition of a new column in cve_data table.
  • inclusion of vers in the index created for cve_data. Any old style searches without the vers will be slower.

Example tests:

pkg:nuget/Microsoft.Data.SqlClient@5.0.1 CVE-2024-0056
pkg:nuget/Microsoft.IdentityModel.JsonWebTokens@6.21.0 CVE-2024-21319
pkg:nuget/System.Drawing.Common@5.0.0 CVE-2021-24112

prabhu added 3 commits May 1, 2025 16:42
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu added enhancement New feature or request breaking labels May 1, 2025
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit 50d8738 into master May 1, 2025
16 checks passed
@prabhu prabhu deleted the feature/fix-version-precision branch May 1, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant