Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.17 KB

File metadata and controls

62 lines (47 loc) · 2.17 KB

About

Docker image with Ubuntu CVE Tracker, Security Tools, and UMT installed to assist in Ubuntu CVE analysis and triage. You can find the list of available Ubuntu CVE's that need triaged at https://people.canonical.com/~ubuntu-security/cve/universe.html

CVE Tools installed & configured

  • Ubuntu CVE Tracker
  • Ubuntu Security Tools
  • Ubuntu QA Tools

Installation Methods

Use github repository

  • Use the dockerfile to build image locally
    git clone https://github.com/zer0uid/docker-CVEanalysis.git
    cd docker-CVEanalysis
    sudo docker build -t zer0uid/docker-cveanalysis .
    sudo docker run -it zer0uid/docker-cveanalysis bash

Documentation

  1. Use CVE Tracker to find CVE's that "needs triaged" for the following versions:

**CVE Tracker URL https://people.canonical.com/~ubuntu-security/cve/universe.html

  1. What to look for? CVE's that impact versions: Xenial, Bionic, Focal, and Gorilla
  • Disregard Precise and Trusty
  • Skipy anything related to the kernel
  1. Run the command to find the available versions in Ubuntu
    $> umt search "packag_name_without_quotes"

  2. Open the CVE file to triage
    $> cd UCT
    $> vim active/CVE-2020-11025 (example, changed as needed)

  3. Update CVE File (Available Status: "needs-triage" "needed" "not-affected" "DNE")

  • Change "needs-triage" to "needed" or "not-affected"
  • If "not-affected", include patched version or "(code not present)" Example: "not-affected" (3.2.1-4)
  • Save file
  1. Traige 5-10 CVE's and then commit your changes for review

  2. Commit changes via git
    $> cd $UCT
    $> git add .
    $> git commit

  • Text editor opens, add message (example: "CVE triage of Wordpress CVE's")
  • Additional Git commands:
    $> git add #stage new changes
    $> git format-patch -1 #creates a patch file for your last 1 commit
    $> git status #shows which files have been modified
    $> git diff #shows your changes
    $> git commit --amend --no-edit #edit last commit without changing message

Configuring your identiy for git

$> git config --global user.email "you@example.com"
$> git config --gobal user.name "your name"