Commit eaeeab6
authored
fix: include release component in upstream qualifier (#740)
* fix: include release component in upstream qulifier for rhel10 CN-482
The upstream qualifier in the PURL was only including the version from
the source RPM, omitting the release component. This caused false
positive vulnerabilities for RHEL 10 packages where the installed
version was equal to or greater than the fix version.
Example:
- Before: upstream=glibc@2.39 (missing release)
- After: upstream=glibc@2.39-46.el10_0 (complete version)
This caused version comparison failures because in RPM versioning,
a version without a release is considered older than the same version with a release:
2.39 < 2.39-43.el10_0 → TRUE (incorrectly triggers vulnerability)
* test: verify upstream qualifier includes release
* test: update snapshots to include release in upstream qualifier1 parent ba78a13 commit eaeeab6
13 files changed
Lines changed: 3308 additions & 3248 deletions
File tree
- lib/analyzer/package-managers
- test
- lib/analyzer/package-managers
- system
- application-scans/__snapshots__
- bugs/__snapshots__
- flags/__snapshots__
- operating-systems/__snapshots__
- package-managers/__snapshots__
- windows/__snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
214 | 271 | | |
215 | 272 | | |
216 | 273 | | |
| |||
Lines changed: 206 additions & 206 deletions
Large diffs are not rendered by default.
Lines changed: 161 additions & 161 deletions
Large diffs are not rendered by default.
Lines changed: 206 additions & 206 deletions
Large diffs are not rendered by default.
0 commit comments