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

Updated xz to 5.6.2 #7916

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Updated xz to 5.6.2 #7916

merged 2 commits into from
Sep 13, 2024

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Mar 29, 2024

@nulano
Copy link
Contributor

nulano commented Mar 30, 2024

I'm assuming you are aware of CVE-2024-3094 and didn't upgrade to 5.6.1 for that reason. Perhaps it is an overreaction at this point, but I'm wondering if we should consider completely removing liblzma from the wheels for the upcoming release. liblzma is only an indirect optional dependency via libtiff and users could just install from source if they need it.

@wiredfool
Copy link
Member

Yes, we're aware. I'd like to hold off on merging this until more clarity comes out of this from the experts. Xz is deeply in use in debian (e.g. dpkg) so they're digging pretty heavily now (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024).

@hugovk hugovk marked this pull request as draft March 30, 2024 20:17
@radarhere radarhere changed the title Updated xz to 5.4.6 Updated xz to 5.6.2 May 29, 2024
@radarhere
Copy link
Member Author

xz 5.6.2 has now been released - https://github.com/tukaani-project/xz/releases/tag/v5.6.2

https://tukaani.org/xz-backdoor/

There was discussion if the 5.6.x version numbers shouldn’t be used further and the next release could be 5.8.0. However, it felt clearer to make XZ Utils 5.6.2 as a cleanup step. There are a few small improvements planned which could become 5.8.0 in shorter time than usual, hopefully replacing 5.6.x somewhat soon.

@radarhere radarhere marked this pull request as ready for review May 29, 2024 23:57
@nulano
Copy link
Contributor

nulano commented Jun 12, 2024

Should we also switch to using the GitHub release instead of SourceForge?

"url": f"{SF_PROJECTS}/lzmautils/files/xz-{V['XZ']}.tar.gz/download",

Multibuild uses https://tukaani.org/xz/xz-5.6.2.tar.gz which is a redirect to the GitHub release:

C:\Users\Nulano>curl --head https://tukaani.org/xz/xz-5.6.2.tar.gz
HTTP/1.1 302 Found
Server: nginx
Date: Wed, 12 Jun 2024 18:51:24 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 262
Connection: keep-alive
Location: https://github.com/tukaani-project/xz/releases/download/v5.6.2/xz-5.6.2.tar.gz
X-Proxy-Cache: BYPASS
X-Powered-By: Zoner

@radarhere
Copy link
Member Author

Ok, GitHub does look to be the primary repository. I've pushed a commit.

@hugovk
Copy link
Member

hugovk commented Jun 13, 2024

My thinking on this: I don't see anything particularly urgent/important in the changelog to merge this right now, so maybe we hold off for another release or so?

@radarhere
Copy link
Member Author

Another release or so of ours, or of xz? I'm guessing you mean xz, as a way of increasing confidence that they have reviewed their code thoroughly.

@hugovk
Copy link
Member

hugovk commented Jun 13, 2024

Of ours, but that could also include of xz :)

Yeah, I don't think we're in a rush to upgrade, and it gives some more time for the dust to settle.

@hugovk
Copy link
Member

hugovk commented Sep 4, 2024

More time has passed and things have settled. Any objections to merging this for our release next month?

@radarhere
Copy link
Member Author

No objections.

@hugovk hugovk merged commit c9eb14e into python-pillow:main Sep 13, 2024
85 of 86 checks passed
@radarhere radarhere deleted the xz branch September 13, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants