False CVE detection for mysql 5.50 #235 adding info message
This commit is contained in:
parent
3820a528ed
commit
94c56dad3f
1 changed files with 6 additions and 0 deletions
|
@ -1075,10 +1075,16 @@ sub cve_recommendations {
|
|||
}
|
||||
close $fh or die "Cannot close $opt{cvefile}: $!";
|
||||
$result{'CVE'}{'nb'}=$cvefound;
|
||||
|
||||
my $cve_warning_notes="";
|
||||
if ( $cvefound == 0 ) {
|
||||
goodprint "NO SECURITY CVE FOUND FOR YOUR VERSION";
|
||||
return;
|
||||
}
|
||||
if ($mysqlvermajor eq 5 and $mysqlverminor eq 7) {
|
||||
infoprint "False positive CVE(s) for MySQL and MariaDB 5.5.x can be found.";
|
||||
infoprint "Check careful each CVE for those particular versions";
|
||||
}
|
||||
badprint $cvefound . " CVE(s) found for your MySQL release.";
|
||||
push( @generalrec,
|
||||
$cvefound
|
||||
|
|
Loading…
Reference in a new issue