oss-sec mailing list archives

Re: Using quilt on untrusted RPM spec files


From: Randy Barlow <randy () electronsweatshop com>
Date: Thu, 27 Sep 2018 22:39:17 -0400

On Thu, 2018-09-27 at 17:59 +0200, Matthias Gerstner wrote:
Now we would be interested in discussing this topic with the
community. Do<br>
other distributions have similar workflows and therefore similar
attack<br>
surface as we do? What would be viable countermeasures?

Hey Matthias!

In Fedora we have similar challenges. We've got a tool called fedora-
review[0] that is maybe kinda similar to quilt. It uses mock[1] to
build the source RPM (and mock does this in a chroot to help with the
problems you described) and then it does some basic quality checks on
the RPM afterwards.

I'm not sure how generic mock is, but maybe it would be helpful to you.
Its wiki page describes it as being used by Mageia, so it might be
extensible for SUSE as well.

Happy coding!


[0] https://pagure.io/FedoraReview
[1] https://github.com/rpm-software-management/mock

Attachment: signature.asc
Description: This is a digitally signed message part


Current thread: