Fix Ubuntu OSV binary package matching - #49816
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (4)
WalkthroughUbuntu OSV processing now parses Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #49816 +/- ##
========================================
Coverage 67.95% 67.95%
========================================
Files 3922 3908 -14
Lines 250011 249999 -12
Branches 13140 13334 +194
========================================
- Hits 169888 169881 -7
+ Misses 64831 64823 -8
- Partials 15292 15295 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
663e6a0 to
a4a1d2e
Compare
Related issue: #39900
Summary
Issue #39900 identified Ubuntu OSV binary package mappings as a required part of the OSV migration. The current processor reads the source package name but does not deserialize or emit package names from
ecosystem_specific.binaries, which can result in false negatives for installed binary packages whose names differ from their source package.Canonical Ubuntu OSV records identify the affected source package in
affected.package.nameand provide installed binary package names underaffected.ecosystem_specific.binaries.Example:
libssh2libssh2-1t64This is an unreleased bug fix for #39900. The fix is generic and does not contain
libssh2- ort64-specific matching logic.Changes
ecosystem_specific.binaries.Checklist for submitter
changes/,orbit/changes/oree/fleetd-chrome/changes.Testing
Automated:
go test ./cmd/osv-processor -vResult: PASS.
Manual artifact generation:
CVE-2025-1566126.04Ubuntu 26.04: 2 packages, 1 CVEslibssh2andlibssh2-1t64libssh2-1t64entry resolves in1.11.1-1ubuntu0.26.04.21.11.1-1ubuntu0.26.04.1Summary by CodeRabbit
Bug Fixes
New Features
Tests