Error in CVE search process
Closed this issue · 0 comments
[Mon Jul 12 20:55:43.590675 2021] [ssl:info] [pid 17445:tid 140365319313152] [client 10.4.4.254:56464] AH01964: Connection to child 83 established (server secmon-01.gueznet.local:443)
[Mon Jul 12 20:55:47.880870 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] ################## NEW GUI ERROR AT 12/07/2021, 20:55:47 ##################
[Mon Jul 12 20:55:47.881075 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] ######## URL : https://secmon.gueznet.local/cve/CVE-2021-24013 ##########
[Mon Jul 12 20:55:47.881183 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] Traceback (most recent call last):
[Mon Jul 12 20:55:47.881217 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
[Mon Jul 12 20:55:47.881224 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] rv = self.dispatch_request()
[Mon Jul 12 20:55:47.881251 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
[Mon Jul 12 20:55:47.881257 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] return self.view_functionsrule.endpoint
[Mon Jul 12 20:55:47.881263 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] File "/usr/local/lib/python3.7/dist-packages/flask_simplelogin/init.py", line 117, in simple_decorator
[Mon Jul 12 20:55:47.881268 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] return dispatch(function, *args, **kwargs)
[Mon Jul 12 20:55:47.881274 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] File "/usr/local/lib/python3.7/dist-packages/flask_simplelogin/init.py", line 98, in dispatch
[Mon Jul 12 20:55:47.881279 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] return check(must) or fun(*args, **kwargs)
[Mon Jul 12 20:55:47.881285 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] File "/var/www/secmon/secmon_web.py", line 578, in cveInfos
[Mon Jul 12 20:55:47.881290 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] return render_template('result.html',back_path="../../vuln-mgmt",cve_id=infos['cve_id'] ,cve_summary=infos['cve_description'],cve_dbs=infos['cve_dbs'],cve_date=infos['cve_date'],cve_score=infos['cve_score'],cve_status=infos['cve_status'],cve_cpe=infos['cve_cpe'],cve_sources=infos['cve_sources'],cve_av=infos['cve_av'],cve_ac=infos['cve_ac'],cve_pr=infos['cve_pr'],cve_ui=infos['cve_ui'],cve_scope=infos['cve_scope'],cve_confid=infos['cve_confid'],cve_integrity=infos['cve_integrity'],cve_avail=infos['cve_avail'],cve_expa=infos['cve_expa'],cve_weakness=infos['cve_weakness'],weakness_nb=weakness_nb,back="../../")
[Mon Jul 12 20:55:47.881306 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] UnboundLocalError: local variable 'weakness_nb' referenced before assignment
[Mon Jul 12 20:55:47.881318 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] None
[Mon Jul 12 20:55:47.881325 2021] [wsgi:error] [pid 17443:tid 140365478409984] [remote 10.4.4.254:56464] ################## PLEASE REPORT THIS ON GITHUB ##################
[Mon Jul 12 20:55:47.922428 2021] [ssl:info] [pid 17445:tid 140365344491264] [client 10.4.4.254:56476] AH01964: Connection to child 80 established (server secmon-01.gueznet.local:443)
[Mon Jul 12 20:55:47.930005 2021] [ssl:info] [pid 17445:tid 140365369669376] [client 10.4.4.254:56478] AH01964: Connection to child 77 established (server secmon-01.gueznet.local:443)
[Mon Jul 12 20:55:47.948359 2021] [ssl:info] [pid 17445:tid 140365386454784] [client 10.4.4.254:56484] AH01964: Connection to child 75 established (server secmon-01.gueznet.local:443)
[Mon Jul 12 20:55:47.953303 2021] [ssl:info] [pid 17445:tid 140365394847488] [client 10.4.4.254:56482] AH01964: Connection to child 74 established (server secmon-01.gueznet.local:443)
[Mon Jul 12 20:55:47.959746 2021] [ssl:info] [pid 17444:tid 140365319313152] [client 10.4.4.254:56480] AH01964: Connection to child 19 established (server secmon-01.gueznet.local:443)
[Mon Jul 12 20:55:48.135307 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] ################## NEW GUI ERROR AT 12/07/2021, 20:55:48 ##################
[Mon Jul 12 20:55:48.135482 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] ######## URL : https://secmon.gueznet.local/cve/img/logo.png ##########
[Mon Jul 12 20:55:48.135601 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] Traceback (most recent call last):
[Mon Jul 12 20:55:48.135632 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
[Mon Jul 12 20:55:48.135652 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] rv = self.dispatch_request()
[Mon Jul 12 20:55:48.135660 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
[Mon Jul 12 20:55:48.135665 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] return self.view_functionsrule.endpoint
[Mon Jul 12 20:55:48.135672 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] File "/var/www/secmon/secmon_web.py", line 726, in serveStaticResource
[Mon Jul 12 20:55:48.135677 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] return send_from_directory('static/', resource)
[Mon Jul 12 20:55:48.135683 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] File "/usr/local/lib/python3.7/dist-packages/flask/helpers.py", line 767, in send_from_directory
[Mon Jul 12 20:55:48.135688 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] raise NotFound()
[Mon Jul 12 20:55:48.135701 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
[Mon Jul 12 20:55:48.135714 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] None
[Mon Jul 12 20:55:48.135722 2021] [wsgi:error] [pid 17443:tid 140365428004608] [remote 10.4.4.254:56476] ################## PLEASE REPORT THIS ON GITHUB ##################