Skip to content

Commit

Permalink
Do not set attack_complexity and user_interaction from cvss 4 data
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Dec 19, 2024
1 parent 35f9e88 commit 67eba28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "appthreat-vulnerability-db"
version = "6.2.2"
version = "6.2.3"
description = "AppThreat's vulnerability database and package search library with a built-in sqlite based storage. OSV, CVE, GitHub, npm are the primary sources of vulnerabilities."
authors = [
{name = "Team AppThreat", email = "[email protected]"},
Expand Down
2 changes: 0 additions & 2 deletions vdb/lib/osv.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ def to_vuln(cve_data):
score = cvss4_obj.get("baseScore")
severity = cvss4_obj.get("baseSeverity")
exploitability_score = score
attack_complexity = cvss4_obj.get("attackComplexity")
user_interaction = cvss4_obj.get("userInteraction")
if vector_string:
cvss3_obj = get_cvss3_from_vector(vector_string)
# Fallback to CVSS 3.1 only if CVSS 4 is absent
Expand Down

0 comments on commit 67eba28

Please sign in to comment.