Skip to content

bug: Epss_Source.update_epss() missing 1 required positional argument: 'cursor' #4473

Closed
@weichslgartner

Description

@weichslgartner

Description

In version 3.4 the download of EPSS data does not work. It seems

await self.update_epss()
calls
async def update_epss(self, cursor):
but does not provide the cursor argument.
With debug logs activated the log message in
self.LOGGER.debug(f"Error while fetching EPSS data: {e}")
does not get activated for me, but if I set a breakpoint I can see the Epss_Source.update_epss() missing 1 required positional argument: 'cursor' Exception. (also when I change the log message to error).

To reproduce

Steps to reproduce the behavior:

  1. cve-bin-tool -l debug --update now

Expected behaviour: epss data should be downloaded, no error
Actual behaviour: ERROR CVEDB - Unable to fetch EPSS, skipping EPSS. epss_source.py:158

Version/platform info

Version of CVE-bin-tool( e.g. output of cve-bin-tool --version): 3.4
Installed from pypi or github?: pypi
Operating system: "5.4.0-193-generic #213-Ubuntu SMP Fri Aug 2 19:14:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux"
Python version (e.g. python3 --version): 3.11.10
Running in any particular CI environment we should know about? (e.g. Github Actions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions