DanCip's picture
Update README.md
fe29035 verified
metadata
dataset_info:
  features:
    - name: cve_id
      dtype: string
    - name: cve_published
      dtype: timestamp[ns]
    - name: cve_descriptions
      dtype: string
    - name: cve_metrics
      struct:
        - name: cvssMetricV2
          list:
            - name: acInsufInfo
              dtype: bool
            - name: baseSeverity
              dtype: string
            - name: cvssData
              struct:
                - name: accessComplexity
                  dtype: string
                - name: accessVector
                  dtype: string
                - name: authentication
                  dtype: string
                - name: availabilityImpact
                  dtype: string
                - name: baseScore
                  dtype: float64
                - name: confidentialityImpact
                  dtype: string
                - name: integrityImpact
                  dtype: string
                - name: vectorString
                  dtype: string
                - name: version
                  dtype: string
            - name: exploitabilityScore
              dtype: float64
            - name: impactScore
              dtype: float64
            - name: obtainAllPrivilege
              dtype: bool
            - name: obtainOtherPrivilege
              dtype: bool
            - name: obtainUserPrivilege
              dtype: bool
            - name: source
              dtype: string
            - name: type
              dtype: string
            - name: userInteractionRequired
              dtype: bool
        - name: cvssMetricV30
          list:
            - name: cvssData
              struct:
                - name: attackComplexity
                  dtype: string
                - name: attackVector
                  dtype: string
                - name: availabilityImpact
                  dtype: string
                - name: baseScore
                  dtype: float64
                - name: baseSeverity
                  dtype: string
                - name: confidentialityImpact
                  dtype: string
                - name: integrityImpact
                  dtype: string
                - name: privilegesRequired
                  dtype: string
                - name: scope
                  dtype: string
                - name: userInteraction
                  dtype: string
                - name: vectorString
                  dtype: string
                - name: version
                  dtype: string
            - name: exploitabilityScore
              dtype: float64
            - name: impactScore
              dtype: float64
            - name: source
              dtype: string
            - name: type
              dtype: string
        - name: cvssMetricV31
          list:
            - name: cvssData
              struct:
                - name: attackComplexity
                  dtype: string
                - name: attackVector
                  dtype: string
                - name: availabilityImpact
                  dtype: string
                - name: baseScore
                  dtype: float64
                - name: baseSeverity
                  dtype: string
                - name: confidentialityImpact
                  dtype: string
                - name: integrityImpact
                  dtype: string
                - name: privilegesRequired
                  dtype: string
                - name: scope
                  dtype: string
                - name: userInteraction
                  dtype: string
                - name: vectorString
                  dtype: string
                - name: version
                  dtype: string
            - name: exploitabilityScore
              dtype: float64
            - name: impactScore
              dtype: float64
            - name: source
              dtype: string
            - name: type
              dtype: string
    - name: cve_references
      list:
        - name: source
          dtype: string
        - name: tags
          sequence: string
        - name: url
          dtype: string
    - name: cve_configurations
      list:
        - name: nodes
          list:
            - name: cpeMatch
              list:
                - name: criteria
                  dtype: string
                - name: matchCriteriaId
                  dtype: string
                - name: versionEndExcluding
                  dtype: string
                - name: versionEndIncluding
                  dtype: string
                - name: versionStartExcluding
                  dtype: 'null'
                - name: versionStartIncluding
                  dtype: string
                - name: vulnerable
                  dtype: bool
            - name: negate
              dtype: bool
            - name: operator
              dtype: string
        - name: operator
          dtype: string
    - name: url
      dtype: string
    - name: cve_tags
      sequence: string
    - name: domain
      dtype: string
    - name: issue_owner_repo
      sequence: string
    - name: issue_body
      dtype: string
    - name: issue_title
      dtype: string
    - name: issue_comments_url
      dtype: string
    - name: issue_comments_count
      dtype: int64
    - name: issue_created_at
      dtype: timestamp[ns]
    - name: issue_updated_at
      dtype: string
    - name: issue_html_url
      dtype: string
    - name: issue_github_id
      dtype: int64
    - name: issue_number
      dtype: int64
    - name: label
      dtype: bool
    - name: issue_msg
      dtype: string
    - name: issue_msg_n_tokens
      dtype: int64
    - name: issue_embedding
      sequence: float64
  splits:
    - name: train
      num_bytes: 127159700
      num_examples: 4379
  download_size: 86546528
  dataset_size: 127159700
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

Dataset Description

Following data collection and processing, we have created the first dataset comprising a total of 4,379 GitHub issues. Of these, 844 are linked to disclosed CVE vulnerabilities, while 3,535 represent issues unrelated to any vulnerabilities. These issues are taken from 31 different repositories. For each issue linked to a vulnerability, we include CVE ID, disclosure date, vulnerability description, a list of references, details on the affected software, and vulnerability impact metrics updated until August 11th, 2024.

Fields

  1. cve_id: The unique CVE identifier.
  2. cve_published: The timestamp when the CVE was published.
  3. cve_descriptions: Textual descriptions of the CVE.
  4. cve_metrics: Container of CVSS metric information.
  5. cve_references: List of external reference links.
  6. cve_configurations: Details about affected configurations.
  7. url: The primary link to the source or CVE entry.
  8. cve_tags: Tags categorizing the CVE.
  9. domain: Domain of the refenrece link.
  10. issue_owner_repo: Repository owner and name from GitHub.
  11. issue_body: Body text of the GitHub issue.
  12. issue_title: Title of the GitHub issue.
  13. issue_comments_url: API URL for issue comments.
  14. issue_comments_count: Number of comments on the issue.
  15. issue_created_at: Timestamp of issue creation.
  16. issue_updated_at: Timestamp of the last issue update.
  17. issue_html_url: Web link to view the issue on GitHub.
  18. issue_github_id: GitHub's unique ID for the issue.
  19. issue_number: Issue number in the repository.
  20. label: Boolean label (true/false) for classification.
  21. issue_msg: Prompt used for the generation of the embedding.
  22. issue_msg_n_tokens: Number of tokens in the prompt.
  23. issue_embedding: Embedding of the prompt generated with text-embedding-3-large.