Bug 11226 - perl-Crypt-DSA new security issue CVE-2011-3599
Summary: perl-Crypt-DSA new security issue CVE-2011-3599
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 3
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/566719/
Whiteboard: MGA2TOO MGA2-32-OK MGA2-64-OK MGA3-64...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2013-09-13 18:16 CEST by David Walser
Modified: 2013-09-24 23:46 CEST (History)
4 users (show)

See Also:
Source RPM: perl-Crypt-DSA-1.170.0-2.mga3.src.rpm
CVE:
Status comment:


Attachments
perl script for testing perl-Crypt-DSA (502 bytes, text/plain)
2013-09-24 22:27 CEST, Dave Hodgins
Details

Description David Walser 2013-09-13 18:16:24 CEST
Fedora has issued an advisory on September 4:
https://lists.fedoraproject.org/pipermail/package-announce/2013-September/115603.html

Fedora patch to fix this issue:
http://pkgs.fedoraproject.org/cgit/perl-Crypt-DSA.git/plain/remove-fallback.patch?id=aadaaacc0620568258e1311124accebc22be8c83

Reproducible: 

Steps to Reproduce:
David Walser 2013-09-13 18:16:30 CEST

Whiteboard: (none) => MGA3TOO, MGA2TOO

Comment 1 Sander Lepik 2013-09-24 13:49:11 CEST
I have uploaded patched packages for Mageia 2 and 3.

No idea how to test it.

Suggested advisory:
========================

The Crypt::DSA (aka Crypt-DSA) module 1.17 and earlier for Perl, when /dev/random is absent, uses the Data::Random module, which makes it easier for remote attackers to spoof a signature, or determine the signing key of a signed message, via a brute-force attack.

This update removes the fallback to Data::Random.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3599
http://lwn.net/Vulnerabilities/566719/
========================

Updated packages in core/updates_testing:
========================
Mageia 3:
perl-Crypt-DSA-1.170.0-2.1.mga3.noarch.rpm

Source RPM: 
perl-Crypt-DSA-1.170.0-2.1.mga3.src.rpm


Mageia 2:
perl-Crypt-DSA-1.170.0-1.1.mga2.noarch.rpm

Source RPM:
perl-Crypt-DSA-1.170.0-1.1.mga2.src.rpm

CC: (none) => mageia
Version: Cauldron => 3
Assignee: jquelin => qa-bugs
Whiteboard: MGA3TOO, MGA2TOO => MGA2TOO

Comment 2 David Walser 2013-09-24 13:55:04 CEST
Thanks Sander!

Just making some minor formatting changes to the advisory.

Suggested advisory:
========================

The Crypt::DSA (aka Crypt-DSA) module 1.17 and earlier for Perl, when
/dev/random is absent, uses the Data::Random module, which makes it easier
for remote attackers to spoof a signature, or determine the signing key of
a signed message, via a brute-force attack (CVE-2011-3599).

This update removes the fallback to Data::Random.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3599
https://lists.fedoraproject.org/pipermail/package-announce/2013-September/115603.html
========================

Updated packages in core/updates_testing:
========================
perl-Crypt-DSA-1.170.0-1.1.mga2
perl-Crypt-DSA-1.170.0-2.1.mga3

Source RPMs:
perl-Crypt-DSA-1.170.0-1.1.mga2.src.rpm
perl-Crypt-DSA-1.170.0-2.1.mga3.src.rpm
Comment 3 Dave Hodgins 2013-09-24 20:38:08 CEST
Advisory 11226.adv committed to svn.

CC: (none) => davidwhodgins

Comment 4 Dave Hodgins 2013-09-24 22:27:14 CEST
Created attachment 4373 [details]
perl script for testing perl-Crypt-DSA
Comment 5 Dave Hodgins 2013-09-24 22:33:07 CEST
Testing complete on Mageia 2 i586.

Before the update, after temporarily renaming /dev/random and /dev/urandom)
Script fails with Can't locate Data/Random.pm.

After the update it fails with makerandom requires /dev/random.
After renaming /dev/random and urandom back to normal, the script works.
Note that there is no output. Using strace output to verify it's working.

I'll test x86_64 and Mageia 3 shortly.

Whiteboard: MGA2TOO => MGA2TOO MGA2-32-OK

Comment 6 Dave Hodgins 2013-09-24 23:08:21 CEST
Testing complete.

Someone from the sysadmin team please push 11226.adv to updates.

Keywords: (none) => validated_update
Whiteboard: MGA2TOO MGA2-32-OK => MGA2TOO MGA2-32-OK MGA2-64-OK MGA3-64-OK MGA3-32-OK
CC: (none) => sysadmin-bugs

Comment 7 Thomas Backlund 2013-09-24 23:46:19 CEST
Update pushed:
http://advisories.mageia.org/MGASA-2013-0289.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.