Skip to content

Commit

Permalink
Fix: Changed severity version to cvssv3.1
Browse files Browse the repository at this point in the history
Signed-off-by: ambuj <[email protected]>
  • Loading branch information
ambuj-1211 committed Jun 3, 2024
1 parent 24b5eaa commit cb4ca3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vulnerabilities/importers/curl.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def parse_advisory_data(raw_data) -> AdvisoryData:

database_specific = raw_data.get("database_specific") or {}
severity = VulnerabilitySeverity(
system=SCORING_SYSTEMS["generic_textual"], value=database_specific.get("severity", "")
system=SCORING_SYSTEMS["cvssv3.1"], value=database_specific.get("severity", "")
)

references = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url": "https://curl.se/docs/CVE-2024-2379.html",
"severities": [
{
"system": "generic_textual",
"system": "cvssv3.1",
"value": "Low",
"scoring_elements": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://curl.se/docs/CVE-2024-0853.html",
"severities": [
{
"system": "generic_textual",
"system": "cvssv3.1",
"value": "Low",
"scoring_elements": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://curl.se/docs/CVE-2023-46218.html",
"severities": [
{
"system": "generic_textual",
"system": "cvssv3.1",
"value": "Medium",
"scoring_elements": ""
}
Expand Down

0 comments on commit cb4ca3e

Please sign in to comment.