Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use Manual Pipeline Mitigation file to mitigate flaws with 'UNKNOWN' source #4

Open
Daverism opened this issue Apr 20, 2022 · 1 comment
Assignees

Comments

@Daverism
Copy link

The pipeline scanner is detecting flaws in a dependent library and flagging them up in the Pipeline scanner results with file "UNKNOWN" and line 1.

example:

      "files": {
        "source_file": {
          "file": "UNKNOWN",
          "line": 1,
          "function_name": "[redacted]",
          "qualified_function_name": "[redacted],
          "function_prototype": "[redacted]",
          "scope": "[redacted]"
        }

When multiple instances of the same flaw are detected in different dependent packages with the same flaw ID and file (UNKNOWN) and line (1) only one instance of the flaw is removed via the manual mitigations file matching leaving unmitigated flaws that are causing the pipelines to fail.

@tjarrettveracode
Copy link
Owner

Thanks for flagging this, @Daverism . This occurs when performing a scan on bytecode that is missing debug symbols, which doesn't allow us to recover the source file information. We may be able to improve our matching algorithms to handle this situation better. I'll take a look at this with our engineering team.

@tjarrettveracode tjarrettveracode self-assigned this Apr 27, 2022
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

No branches or pull requests

2 participants