Fedora has issued an advisory on September 3: http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086138.html Mageia 1 and Mageia 2 are also affected. We should upgrade to 8.3 to fix this and other bugs.
CC: (none) => dmorganecWhiteboard: (none) => MGA2TOO, MGA1TOO
CC: (none) => thierry.vignaud
CC: (none) => oe
Updated packages uploaded for Mageia 1, Mageia 2, and Cauldron. Advisory: ======================== Updated rpmdevtools package fixes security vulnerability: A TOCTOU race condition was found in the way 'annotate-output' (used to execute a program annotating the output linewise with time and stream) tool of rpmdevtools before 8.3 performed management of its temporary files used for standard output and standard error output. A local attacker could use this flaw to conduct symbolic link attacks, possibly leading to their ability in an unauthorized way to alter files belonging to the user running the 'annotate-output' tool (CVE-2012-3500). References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3500 http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086138.html ======================== Updated packages in core/updates_testing: ======================== rpmdevtools-8.3-1.mga1 rpmdevtools-8.3-1.mga2 from SRPMS: rpmdevtools-8.3-1.mga1.src.rpm rpmdevtools-8.3-1.mga2.src.rpm
Version: Cauldron => 2Assignee: bugsquad => qa-bugsWhiteboard: MGA2TOO, MGA1TOO => MGA1TOO
For Mageia 1, the version jump changes more than just the annotate-output fix, but given that this tool is just targeted at packagers and not required by a lot of packages (and apparently not required at all as a build dependency), ok with pushing version 8.3 to Mageia 1. I tested some of the commands among those provided by the package, including annotate-output. Comprehensive list of commands: /usr/bin/annotate-output /usr/bin/checkbashisms /usr/bin/licensecheck /usr/bin/manpage-alert /usr/bin/rpmargs /usr/bin/rpmdev-bumpspec /usr/bin/rpmdev-checksig /usr/bin/rpmdev-cksum /usr/bin/rpmdev-diff /usr/bin/rpmdev-extract /usr/bin/rpmdev-md5 /usr/bin/rpmdev-newinit /usr/bin/rpmdev-newspec /usr/bin/rpmdev-packager /usr/bin/rpmdev-rmdevelrpms /usr/bin/rpmdev-setuptree /usr/bin/rpmdev-sha1 /usr/bin/rpmdev-sha224 /usr/bin/rpmdev-sha256 /usr/bin/rpmdev-sha384 /usr/bin/rpmdev-sha512 /usr/bin/rpmdev-sort /usr/bin/rpmdev-sum /usr/bin/rpmdev-vercmp /usr/bin/rpmdev-wipetree /usr/bin/rpmelfsym /usr/bin/rpmfile /usr/bin/rpminfo /usr/bin/rpmls /usr/bin/rpmpeek /usr/bin/rpmsodiff /usr/bin/rpmsoname /usr/bin/spectool
Whiteboard: MGA1TOO => MGA1TOO MGA1-32-OK
Whiteboard: MGA1TOO MGA1-32-OK => MGA1TOO has_procedure MGA1-32-OK
rpmdiff shows these bin's changed S.5........ /usr/bin/annotate-output S.5........ /usr/bin/checkbashisms S.5........ /usr/bin/licensecheck ..5........ /usr/bin/manpage-alert S.5........ /usr/bin/rpmdev-bumpspec S.5........ /usr/bin/rpmdev-newspec S.5........ /usr/bin/rpmdev-setuptree Testing with some of these. The CVE applies to annotate-output. Before ------ $ annotate-output cat /etc/release 10:44:56 I: Started cat /etc/release 10:44:56 O: Mageia release 2 (Official) for i586 10:44:56 I: Finished with exitcode 0 After ----- $ annotate-output cat /etc/release 10:46:56 I: Started cat /etc/release 10:46:56 O: Mageia release 2 (Official) for i586 10:46:56 I: Finished with exitcode 0 Testing some others.. $ checkbashisms -f ~/depcheck shows alot of possible bashisms..(no comment :P) $ manpage-alert . No manual entry for ./21323.c No manual entry for ./examplesh No manual entry for ./gpl-3.0.txt No manual entry for ./index.html etc. Downloaded the plain text gpl from http://www.gnu.org/licenses/gpl.html $ licensecheck gpl-3.0.txt gpl-3.0.txt: UNKNOWN Maybe some problem there, otherwise OK.
Whiteboard: MGA1TOO has_procedure MGA1-32-OK => MGA1TOO has_procedure MGA1-32-OK mga2-32-OK
testing complete mga2 64
Whiteboard: MGA1TOO has_procedure MGA1-32-OK mga2-32-OK => MGA1TOO has_procedure MGA1-32-OK mga2-32-OK mga2-64-OK
testing complete mga1 64 Validating Advisory and srpms in comment 1 Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsWhiteboard: MGA1TOO has_procedure MGA1-32-OK mga2-32-OK mga2-64-OK => MGA1TOO has_procedure MGA1-32-OK mga1-64-OK mga2-32-OK mga2-64-OK
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0316
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED