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

CWE and CVSS raw data #313

Merged
merged 4 commits into from
Feb 21, 2025
Merged

CWE and CVSS raw data #313

merged 4 commits into from
Feb 21, 2025

Conversation

SashaTail
Copy link
Contributor

Supports raw cvss data in the database #312, as well as adding more CWE data #309

More details about CWE can be seen at MR #310 (It will be possible to close the MR #310 with this MR )
Details about storing cvss raw in the database will be below.

@SashaTail
Copy link
Contributor Author

Sample data:
{
"cvss2": {
"[email protected]": [
{
"type": "Primary",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"baseScore": 5,
"authentication": "NONE",
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
}
]
},
"cvss3": {
"[email protected]": [
{
"type": "Primary",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"baseScore": 7.5,
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED"
}
]
},
"cvss4": {}
}

@SashaTail
Copy link
Contributor Author

This is how this data will be displayed in cve-search
image

@specator
Copy link

@P-T-I can you check this too?

@P-T-I
Copy link
Member

P-T-I commented Feb 21, 2025

@SashaTail Thanks!!

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

Successfully merging this pull request may close these issues.

3 participants