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

hack: hard-code severity for debian CVE-2023-44487 #448

Merged
merged 3 commits into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/vunnel/providers/debian/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,14 @@ def _normalize_json(self, ns_cve_dsalist=None): # noqa: PLR0912,PLR0915,C901
):
vuln_record["Vulnerability"]["Severity"] = sev

# HACK: when we can represent per-package severity or have a good mechanism
# for overriding upstream data, we should take this out.
if vid == "CVE-2023-44487":
self.logger.info(
"clearing severity on CVE-2023-44487, see https://github.com/anchore/grype-db/issues/108#issuecomment-1796301073",
)
vuln_record["Vulnerability"]["Severity"] = "Unknown"
westonsteimel marked this conversation as resolved.
Show resolved Hide resolved

# add fixedIn
skip_fixedin = False
fixed_el = {
Expand Down
Loading