Guezone / SECMON

SECMON is a web-based tool for the automation of infosec watching and vulnerability management with a web interface.
Other
218 stars 47 forks source link

Installation Error: local variable 'cve_description' #5

Closed SonuKhanPK closed 3 years ago

SonuKhanPK commented 3 years ago

While installing i got this below error in Ubuntu 20.04.2 LTS.

Traceback (most recent call last):
  File "/var/www/secmon/secmon_lib.py", line 627, in registerNewCve
    cur.execute("INSERT INTO CVE_DATA (CVE_ID,KEYWORD,STATUS,CVE_SCORE,CVE_DATE,CVE_DESCRIPTION,CVE_EVAL,CVE_CPE,CVE_SOURCES,EXPLOIT_FIND,INDEXING_DATE) VALUES (?,?,?,?,?,?,?,?,?,?,?);", (cve_id,key_match,status,str(cve_score),cve_date,cve_description,cve_status,cve_cpe,cve_sources,"False",idx_date))
UnboundLocalError: local variable 'cve_description' referenced before assignment
None

image

Guezone commented 3 years ago

This bug was corrected in a last commit @SonuKhanPK can you update and confirm this ?