Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vulnerabilities in future 0.18.2 #323

Open
davis-anthony opened this issue Dec 27, 2022 · 2 comments
Open

vulnerabilities in future 0.18.2 #323

davis-anthony opened this issue Dec 27, 2022 · 2 comments
Milestone

Comments

@davis-anthony
Copy link

  • Nipyapi version: 0.19.1
  • NiFi version: N/A
  • NiFi-Registry version: N/A
  • Python version: N/A
  • Operating System: N/A

Description

Vulnerability outlined in CVE-2022-40899. Unfortunately it looks like that project is dead and will likely not be updated. This will need to be dropped as a dependency and use of future refactored to some other component.

What I Did

Including the dependency for nipyapi 0.19.1 in my local project and running it through OWASP results in a failure due to the dependency on future 0.18.2. If I exclude this dependency, I get a build failure with a reference to this CVE:

https://nvd.nist.gov/vuln/detail/CVE-2022-40899

Urgency

This blocks our build pipelines and poses a security risk in our production environment.

@ottobackwards
Copy link
Contributor

It doesn't look to me that future is maintained anymore. Here is the PR to fix it: PythonCharmers/python-future#610.

One option that comes to mind for me would be:

  • move future internal to nipyapi, ie move the code into nipyapi as a private package
  • patch that
  • plan for python3 only with nifi 2.0 release

@Chaffelson
Copy link
Owner

I see that the patched version of future was created as 0.18.3
We have been testing with it for several releases, but I will explicitly set it as a requirement in the next release.

@Chaffelson Chaffelson added this to the 0.20 milestone Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants