Skip to content

Error in running openSSL importer #1747

Description

@TG1999

Importing data using vulnerabilities.importers.openssl.OpensslImporter
Error while fetching https://www.openssl.org/news/vulnerabilities.xml: 404
Traceback (most recent call last):
File "/app/vulnerabilities/management/commands/import.py", line 70, in import_data
ImportRunner(importer).run()
File "/app/vulnerabilities/import_runner.py", line 61, in run
count = self.process_advisories(advisory_datas=advisory_datas, importer_name=importer_name)
File "/app/vulnerabilities/import_runner.py", line 101, in process_advisories
for data in advisory_datas:
File "/app/vulnerabilities/importers/openssl.py", line 51, in parse_vulnerabilities
root = DET.fromstring(xml_response)
File "/usr/local/lib/python3.9/site-packages/defusedxml/common.py", line 126, in fromstring
parser.feed(text)
File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 1720, in feed
self.parser.Parse(data, False)
TypeError: a bytes-like object is required, not 'NoneType'
Failed to run importer vulnerabilities.importers.openssl.OpensslImporter. Continuing...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions