Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198233 - dev-texlive/texlive-metapost feynmf Insecure temporary file creation
Summary: dev-texlive/texlive-metapost feynmf Insecure temporary file creation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Security
URL:
Whiteboard: ~3 [noglsa]
Keywords:
Depends on: 198289
Blocks:
  Show dependency tree
 
Reported: 2007-11-06 02:31 UTC by Robert Buchholz (RETIRED)
Modified: 2007-11-06 21:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2007-11-06 02:31:05 UTC
+++ This bug was initially created as a clone of Bug #198231 +++

feynmf.pl as shipped in dev-texlive/texlive-metapost-2007 creates files in an insecure manner.

The attached patch should fix this, and is extracted from the Debian package. Please also check with upstream whether this is included in their repository and coordinate that if necessary.

Any reason metapost cannot use the independant feynmf?
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2007-11-06 02:31:54 UTC
The patch is attached to Bug #198231
Comment 2 Alexis Ballier gentoo-dev 2007-11-06 09:37:59 UTC
(In reply to comment #0)

> Any reason metapost cannot use the independant feynmf?

not really, except following texlive packaging. I think I'll remove it and make app-text/texlive ebuild depend on feynmf.

Anyway, all texlive module ebuilds contain stuff that could have their independant ebuild; it could be possible that we separate every ctan package in its own ebuild, but this will mean having thousands of such ebuilds ;)
the rationale being that texlive upstream (which you can see as a ctan downstream) is already doing a great work with maintaining and packaging all of those packages, so a separate ebuild is worth it only if it is well maintained; what I obviously cannot do for all the packages.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2007-11-06 09:50:45 UTC
(In reply to comment #2)
> the rationale being that texlive upstream (which you can see as a ctan
> downstream) is already doing a great work with maintaining and packaging all of
> those packages, so a separate ebuild is worth it only if it is well maintained;
> what I obviously cannot do for all the packages.

Good point, let's hope the texlive do a decent work then.
Comment 4 Alexis Ballier gentoo-dev 2007-11-06 19:40:51 UTC
feynmf removed from texlive-metapost-2007-r1 and rekeyword bug submitted as bug #198289 for app-text/texlive ebuild depending on the standalone feynmf ebuild.
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2007-11-06 21:48:47 UTC
This is fixed from a security perspective, the keyword regression is fixed at another place. Thanks for the fast reply.