Skip to content

Conversation

@thesamesam
Copy link
Contributor

Lasse and I have discussed this and we'd like oss-fuzz working again on the repository as fixes and various cleanups continue to be committed.

The malicious test files have been purged already in tukaani-project/xz@e93e13c.

Obviously will need an ACK from @Larhzu.

@github-actions
Copy link

thesamesam is integrating a new project:
- Main repo: https://github.com/fancycode/lzma-fuzz.git
- Criticality score: 0.21760
thesamesam is integrating a new project:
- Main repo: https://github.com/fancycode/lzma-fuzz.git
- Criticality score: 0.21760
thesamesam is integrating a new project:
- Main repo: https://github.com/fancycode/lzma-fuzz.git
- Criticality score: 0.21760

@thesamesam
Copy link
Contributor Author

I have no idea about ae9dd26 fwiw, other than being confident that it's not caught up in this - i.e. I have no association with LZMA SDK / 7zip (totally distinct project from xz) development at all.

As such, if y'all want to handle it in a separate PR, that's fine, but I'm probably not the person to drive that. I don't know who should be contacted to get it re-activated though. As far as I'm concerned, it was a bystander victim here in the end (not saying the revert was unreasonable or anything, just where we are now).

Let me know what's best. Thanks!

@thesamesam
Copy link
Contributor Author

cc @jonathanmetzman

@thesamesam thesamesam force-pushed the revive-xz branch 2 times, most recently from ec4d23d to b81d08f Compare April 14, 2024 11:29
@Larhzu
Copy link

Larhzu commented Apr 14, 2024

I'm happy to let @thesamesam handle the fuzzing related communication. Thanks! :-)

- afl
- honggfuzz
- libfuzzer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this project even maintained at all? I don't see any activity for the last 5 years. For example:

Not sure what is best to be done here, but maybe @fancycode could be asked to sign off on re-adding the project?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A great question which I have no idea how to answer. LZMA SDK is definitely maintained upstream but it doesn't look like it's had any attention for oss-fuzz in the last few years.

Should I split the LZMA SDK parts into a separate PR, or leave it entirely? I don't have any association with that project, so not sure if I'm the best person to do that. I just felt bad that they got caught up in the crossfire.

@fancycode What do you think?

Copy link
Contributor Author

@thesamesam thesamesam Apr 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Larhzu maybe we can ask Igor about it although not sure if he has a Google account..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the meantime, I think I should just drop those parts from this PR, as it seems kind of open-ended as I'm not sure what the outcome will be there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A great question which I have no idea how to answer. LZMA SDK is definitely maintained upstream but it doesn't look like it's had any attention for oss-fuzz in the last few years.

Should I split the LZMA SDK parts into a separate PR, or leave it entirely? I don't have any association with that project, so not sure if I'm the best person to do that. I just felt bad that they got caught up in the crossfire.

@fancycode What do you think?

@thesamesam Thanks for the heads up! Feel free to put the LZMA SDK parts in a separate PR. While this indeed was not maintained recently, I just started again, will upgrade to the latest SDK version in fancycode/lzma-fuzz#4 and will try to keep this up to date better in the future. Having the SDK check integrated in CI should help.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it makes most sense if the project is re-added in a separate pull request, so that the oss-fuzz maintainers can evaluate the projects separately.

Another thing I noticed: The primary_contact: [email protected] email is not reachable, because the email seems to bounce, so when re-submitting this project, it could make sense to adjust the email.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I opened up #11815.

@DonggeLiu
Copy link
Contributor

Thanks @thesamesam.
Could you please address the header-check failure?

@thesamesam
Copy link
Contributor Author

@DonggeLiu No problem, thanks for the review. I will do now. I wasn't sure if I should handle it given I was just reverting, but let's do it. Gimme a sec..

This reverts commit 1bb8ea7.

The malicious test files have been removed from the git repository
in upstream commit e93e13c8b3bec925c56e0c0b675d8000a0f7f754.

For xz-java, it was clean to begin with.
For xz itself, it's now clean in master.

I have also fixed the copyright headers in this commit.
Per https://tukaani.org/, we have:
> The XZ projects were moved to their own website on xz.tukaani.org in January 2024
> and back here in their original location in April 2024.
> The xz.tukaani.org links don’t work anymore.
xz has dropped IFUNC support in master, see upstream commits
689ae2427342a2ea1206eb5ca08301baf410e7e0 and 986865ea2f9d1f8dbef4a130926df106b0f6d41a.

This reverts commit d2e42b2.
Per https://tukaani.org/, we have:
> The XZ projects were moved to their own website on xz.tukaani.org in January 2024
> and back here in their original location in April 2024.
> The xz.tukaani.org links don’t work anymore.
@thesamesam
Copy link
Contributor Author

thesamesam commented Apr 18, 2024

By the way, I wouldn't want it to block merging the reactivation, but if anyone is willing or able to help improve our fuzzing setup for xz, please do let us know / feel free to take a look. We really want people to be confident in xz and any/all suggestions are welcome.

When this is in, I will setup CIFuzz at least, but may need advice on how to do more than that (or patches ;)).

@DonggeLiu DonggeLiu merged commit 963b9ac into google:master Apr 19, 2024
@thesamesam thesamesam deleted the revive-xz branch April 19, 2024 00:08
jonathanmetzman pushed a commit that referenced this pull request May 6, 2024
This reverts commit ae9dd26.

There is no evidence that the LZMA SDK in 7zip was affected at all - the
issue in xz was a rogue co-maintainer.

I have also fixed the copyright headers, per CI.

--

See also the discussion at
#11805 (comment). I
don't have an association with LZMA SDK, but noticed this when fixing up
xz (for which I do have an association).
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

Successfully merging this pull request may close these issues.

5 participants