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

Pip audit reporting security vulnerability OSV-2022-715 #6687

Closed
jrzerr opened this issue Oct 25, 2022 · 8 comments
Closed

Pip audit reporting security vulnerability OSV-2022-715 #6687

jrzerr opened this issue Oct 25, 2022 · 8 comments
Milestone

Comments

@jrzerr
Copy link

jrzerr commented Oct 25, 2022

We run pip-audit and just this week started reporting a security vulnerability with 9.2.0, we are running python 3.10.8.

https://osv.dev/vulnerability/OSV-2022-715

When you follow the References link in the issue, it says something about being fixed.

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50217

But yet pip-audit is still flagging.

Should we be treating this as a false flag? Problem is with pip-audit and it's source of vulnerabilities? Or is this something that needs to be investigated?

@radarhere
Copy link
Member

radarhere commented Oct 25, 2022

My conclusion is that the security vulnerability was only detected intermittently. A later test didn't detect the vulnerability, so the automatic software marked it as fixed, believing that something we'd done in the meantime had resolved the matter.

Since then, #6678 has merged a proper fix for this.

We plan to release Pillow 9.3.0 with that fix very soon. Follow #6460 for updates.

@jrzerr
Copy link
Author

jrzerr commented Oct 25, 2022

Oh awesome, thanks!

@hugovk hugovk added this to the 9.3.0 milestone Oct 26, 2022
@radarhere
Copy link
Member

Pillow 9.3.0 has now been released.

This security problem is mentioned in the release notes at https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html#decode-jpeg-compressed-blp1-data-in-original-mode

@emcek
Copy link

emcek commented Oct 30, 2022

With 9.3.0 installed...

Name   Version ID           Fix Versions
------ ------- ------------ ------------
pillow 9.3.0   OSV-2022-715

@CandiedCode
Copy link

CandiedCode commented Oct 30, 2022

I get the same error as @emcek

Name   Version ID           Fix Versions
------ ------- ------------ ------------
pillow 9.3.0   OSV-2022-715

pip freeze | grep Pillow
Pillow==9.3.0

looks like oss-fuzz-vulns updated it to include Pillow 9.3

google/oss-fuzz-vulns@f9c98bb

@radarhere
Copy link
Member

radarhere commented Oct 30, 2022

I think it is just handling the fact that https://osv.dev/vulnerability/OSV-2022-715 states the problem affects Pillow > 9.*, so that automatically includes any new releases we create.

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50217 already thought it was fixed, so it must be independent of that.

I've created google/oss-fuzz-vulns#21 to try and sort this out.

@radarhere
Copy link
Member

That PR has been merged. If you try again, Pillow 9.3.0 should no longer be listed as a problem.

@emcek
Copy link

emcek commented Oct 31, 2022

Yes that is correct

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

5 participants