chore(fp): use more conservative CPE 22 prefix suppression syntax to avoid false negatives#8509
Merged
jeremylong merged 4 commits intoMay 19, 2026
Conversation
…itive ops CPE suppressions are string prefix based off a fully formed URI; without the colon we risk matching against the wrong product, sometimes sub-products Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
…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>
Collaborator
Author
|
Thank for dealing with the conflicts for me, you didn't have to do that, so it's appreciated 🙏🏻 |
jeremylong
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
CPE 2.2 URI suppressions are string prefix based off a fully formed URI; without the colon we risk matching against the wrong product, sometimes sub-products.
DependencyCheck/core/src/main/java/org/owasp/dependencycheck/xml/suppression/SuppressionRule.java
Lines 778 to 786 in c82a59c
It's possible some of these are intentional product prefixes; but probably better to address these one-by-one if so. The current ones risk creating false negatives, especially over time as new sub-products are added.
Related issues
Have test cases been added to cover the new functionality?
N/A