Skip to content

search.search_by_cpe_like -> "apsw.SQLError: no such column: vers" #217

@4FunAndProfit

Description

@4FunAndProfit

Hello !

When i run this code with version appthreat-vulnerability-db[all]==6.4.0 :

download_image(config.VDB_DATABASE_URL, config.DATA_DIR)
cves = search.search_by_cpe_like(cpe, True)

I have the following error:

res = conn.execute(query, args)
File "src/cursor.c", line 1086, in APSWCursor_execute.sqlite3_prepare_v3

apsw.SQLError: no such column: vers

Is there a problem with the query in vdb/lib/search.py in search_by_cpe_like ?

Thanks a lot in advance!

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