Skip to content

chore(fp): convert hosted/generated suppressions to more conservative CPE prefix suppressions#8510

Merged
jeremylong merged 1 commit into
dependency-check:generatedSuppressionsfrom
chadlwilson:generatedSuppressions-conservative-cpe-match
May 19, 2026
Merged

chore(fp): convert hosted/generated suppressions to more conservative CPE prefix suppressions#8510
jeremylong merged 1 commit into
dependency-check:generatedSuppressionsfrom
chadlwilson:generatedSuppressions-conservative-cpe-match

Conversation

@chadlwilson
Copy link
Copy Markdown
Collaborator

Description of Change

Same as #8509 for generated/hosted suppressions.

CPE suppressions are string prefix based off a fully formed URI; without the colon we risk matching against the wrong product, sometimes sub-products.
It's possible some of these are intentional product prefixes; but probably better to address these one-by-one if so.

Also consolidated a couple of low-hanging-fruit duplicates while here.

Related issues

Have test cases been added to cover the new functionality?

N/A

… CPE prefix suppressions

CPE suppressions are string prefix based off a fully formed URI; without the colon we risk matching against the wrong product, sometimes sub-products.

It's possible some of these are intentional product prefixes; but probably better to address these one-by-one if so.

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
@jeremylong jeremylong added this to the 13.0.0 milestone May 19, 2026
@jeremylong jeremylong merged commit 9a95fc6 into dependency-check:generatedSuppressions May 19, 2026
1 check passed
@chadlwilson chadlwilson deleted the generatedSuppressions-conservative-cpe-match branch May 19, 2026 10:38
chadlwilson added a commit to chadlwilson/DependencyCheck that referenced this pull request May 20, 2026
…prefix matchers

Unfortunately, dependency-check#8510 caused some suppressions to regress, since the trailing bits of the CPE are removed for vulnerabilities without versions in them and the
existing code does not normalise the CPE URI from the suppressions. This means vulns with affected versions like `cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*` will no
longer match as they are normalized to `cpe:/a:vaadin:vaadin` without a trailing `:`

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants