The file mol-pciproxy-dump.patch distributed with app-emulation/mol needs to include the O_EXCL flag on line 273 to avoid writing to already existing files, including symlinks. See `man 2 open`. This could potentially allow for the overwriting of arbitrary files upon installation of app-emulation/mol. Note that all instances of this package are masked, but I thought I would report it anyway.
I think I'd rather just remove the patch, it's of limited use to most people anyway (it was originally written to allow reverse engineering PCI devices through MOL). I'll remove it and add a version bump (it isn't masked on ppc). Would that be okay with security?
Yeah a new fixed and stable version would be sufficient.
Fixed in CVS, I'm not sure if security wants to do anything else for this bug, so I'll leave it open. Thanks!
Thx Joe. Security, this one is ready for GLSA decision. I tend to vote NO.
I vote no.
no and closing. thanls