[GH-ISSUE #5] Installation Error: local variable 'cve_description' #4

Closed
opened 2026-03-02 23:35:56 +03:00 by kerem · 1 comment
Owner

Originally created by @SonuKhanPK on GitHub (Jun 5, 2021).
Original GitHub issue: https://github.com/alb-uss/SECMON/issues/5

Originally assigned to: @alb-uss on GitHub.

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

Originally created by @SonuKhanPK on GitHub (Jun 5, 2021). Original GitHub issue: https://github.com/alb-uss/SECMON/issues/5 Originally assigned to: @alb-uss on GitHub. 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](https://user-images.githubusercontent.com/85409484/120899872-3ccf5680-c64b-11eb-9c46-39b16f67e447.png)
kerem closed this issue 2026-03-02 23:35:57 +03:00
Author
Owner

@alb-uss commented on GitHub (Jun 9, 2021):

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

<!-- gh-comment-id:857424236 --> @alb-uss commented on GitHub (Jun 9, 2021): This bug was corrected in a last commit @SonuKhanPK can you update and confirm this ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SECMON#4
No description provided.