Shows the wrong version to be update.

On update flag of CVE, shows the current version instead of version to be updated.

The bug was found in https://gitlab.com/dhbmarcos/cve-scan/-/blob/main/cve-scan#L272

function output__cve_update
{
    local cve="$1"
    local current_version="$2"
    local fixed_version="$2"

    ...

To fix, replace local fixed_version="$2" to local fixed_version="$3".

Assignee Loading
Time tracking Loading