{"id":18835996,"url":"https://github.com/stevespringett/cvss-calculator","last_synced_at":"2025-04-06T05:16:46.239Z","repository":{"id":26193420,"uuid":"90557916","full_name":"stevespringett/cvss-calculator","owner":"stevespringett","description":"A Java library for calculating CVSSv2 and CVSSv3 scores and vectors","archived":false,"fork":false,"pushed_at":"2024-05-23T04:47:59.000Z","size":163,"stargazers_count":33,"open_issues_count":8,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-23T04:53:56.435Z","etag":null,"topics":["cvss","cvssv2","cvssv3","java","library","nist","nvd"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevespringett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-07T19:54:52.000Z","updated_at":"2024-05-28T04:39:26.655Z","dependencies_parsed_at":"2023-01-14T04:11:31.782Z","dependency_job_id":"eab51b7a-bafb-40b4-af8e-5dc566553b36","html_url":"https://github.com/stevespringett/cvss-calculator","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevespringett%2Fcvss-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevespringett%2Fcvss-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevespringett%2Fcvss-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevespringett%2Fcvss-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevespringett","download_url":"https://codeload.github.com/stevespringett/cvss-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436286,"owners_count":20938533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cvss","cvssv2","cvssv3","java","library","nist","nvd"],"created_at":"2024-11-08T02:17:50.084Z","updated_at":"2025-04-06T05:16:46.053Z","avatar_url":"https://github.com/stevespringett.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/stevespringett/cvss-calculator/workflows/Maven%20CI/badge.svg)](https://github.com/stevespringett/cvss-calculator/actions?workflow=Maven+CI)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/cb8fdf4b23df4ac993cadbbeb14c743c)](https://www.codacy.com/app/stevespringett/cvss-calculator?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=stevespringett/cvss-calculator\u0026amp;utm_campaign=Badge_Grade)\n![Maven Central](https://img.shields.io/maven-central/v/us.springett/cvss-calculator)\n[![License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)][Apache 2.0]\n\nCVSS Calculator\n=====================================\n\nCVSS Calculator is a Java library for calculating CVSSv2, CVSSv3, and CVSSv3.1 scores and vectors,\nincluding support for base scores, impact scores, and exploitability scores.\n\nCompiling\n-------------------\n\n\u003e $ mvn clean package\n\nUsage Example\n-------------------\n```java\n// Performs a new calculation using CVSSv3\nCvssV3 cvssV3 = new CvssV3()\n    .attackVector(AttackVector.NETWORK)\n    .attackComplexity(AttackComplexity.LOW)\n    .privilegesRequired(PrivilegesRequired.HIGH)\n    .userInteraction(UserInteraction.NONE)\n    .scope(Scope.UNCHANGED)\n    .confidentiality(CIA.HIGH)\n    .integrity(CIA.HIGH)\n    .availability(CIA.HIGH);\n\nScore score = cvssV3.calculateScore();\n```\n```java\n// Parses an existing CVSS v2 or v3 vector\nCvss cvss = Cvss.fromVector(vector);\nScore score = cvss.calculateScore();\n```\n\nMaven Usage\n-------------------\nCVSS Calculator is available in the Maven Central Repository.\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eus.springett\u003c/groupId\u003e\n    \u003cartifactId\u003ecvss-calculator\u003c/artifactId\u003e\n    \u003cversion\u003e1.4.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nCopyright \u0026 License\n-------------------\n\nCVSS Calculator is Copyright (c) Steve Springett. All Rights Reserved.\n\nAll other trademarks are property of their respective owners.\n\nPermission to modify and redistribute is granted under the terms of the [Apache 2.0] license.\n\n  [Apache 2.0]: http://www.apache.org/licenses/LICENSE-2.0.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevespringett%2Fcvss-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevespringett%2Fcvss-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevespringett%2Fcvss-calculator/lists"}