Skip to content

fix(frameworks): match cve entries against a bare-major version#320

Open
TBX3D wants to merge 1 commit into
vmfunc:mainfrom
TBX3D:fix/cve-bare-major-version
Open

fix(frameworks): match cve entries against a bare-major version#320
TBX3D wants to merge 1 commit into
vmfunc:mainfrom
TBX3D:fix/cve-bare-major-version

Conversation

@TBX3D

@TBX3D TBX3D commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

drupal's generator meta only exposes a bare major, so the extracted
version is "10"/"9". versionAffected only matched when the affected
entry was a component-prefix of the version, never the reverse, so a
bare major never matched a dotted affected entry and every drupal cve
was silently missed. match on dotted boundaries in either direction.

drupal's generator meta only exposes a bare major, so the extracted
version is "10"/"9". versionAffected only matched when the affected
entry was a component-prefix of the version, never the reverse, so a
bare major never matched a dotted affected entry and every drupal cve
was silently missed. match on dotted boundaries in either direction.
@TBX3D TBX3D requested a review from vmfunc as a code owner July 3, 2026 23:56
@github-actions github-actions Bot added size/s <50 lines changed scan changes to scan engine tests test changes and removed size/s <50 lines changed labels Jul 3, 2026
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@7ea1cd2). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #320   +/-   ##
=======================================
  Coverage        ?   54.77%           
=======================================
  Files           ?       81           
  Lines           ?     6876           
  Branches        ?        0           
=======================================
  Hits            ?     3766           
  Misses          ?     2842           
  Partials        ?      268           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

pr summary

2 files changed (+27 -3)

category files
go source 2
tests 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scan changes to scan engine tests test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants