Bug 743567 (CVE-2011-3599) - CVE-2011-3599 perl-Crypt-DSA: Cryptographically insecure method used for random numbers generation on systems without /dev/random
Summary: CVE-2011-3599 perl-Crypt-DSA: Cryptographically insecure method used for rand...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-3599
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-05 12:00 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:48 UTC (History)
3 users (show)

Fixed In Version: perl-Crypt-DSA-1.17-10.*, perl-Crypt-DSA-0.14-8.el5
Clone Of:
Environment:
Last Closed: 2013-09-19 19:41:45 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 71421 0 None None None Never

Description Jan Lieskovsky 2011-10-05 12:00:01 UTC
It has been reported that Crypt::DSA, a Perl module for DSA signatures and key generation, used cryptographically weak / insecure method for random numbers generation on systems, where /dev/random file was not present. Due this flaw an attacker could be able to discover some portions of / whole secret DSA key, which has been created on such system.

References:
[1] http://secunia.com/advisories/46275/
[2] https://rt.cpan.org/Public/Bug/Display.html?id=71421

Proposed upstream patch is to remove the affected fallback code part:
[3] https://rt.cpan.org/Public/Bug/Display.html?id=71421#txn-984052
    (though not approved yet)

Comment 1 Jan Lieskovsky 2011-10-05 12:04:34 UTC
CVE Request:
[4] http://www.openwall.com/lists/oss-security/2011/10/05/5

Comment 2 Jan Lieskovsky 2011-10-05 12:08:34 UTC
This issue affects the versions of the perl-Crypt-DSA package, as shipped with Fedora release of 14, 15, and as shipped within EPEL-4, EPEL-5 and EPEL-6 repositories.

Under 'affects' I mean that the relevant code part / fallback is present in the code. 

Though obviously on Fedora and EPEL systems, the safer /dev/random code branch would be used for DSA key generation. Thus this deficiency would not show and I will leave the decision to the perl-Crypt-DSA module developers, if it's worthy to schedule new Fedora / EPEL updates or not.

Comment 3 Paul Howarth 2011-10-05 13:58:36 UTC
Given that no Fedora/EPEL system is actually going to be impacted by this, I'm inclined to wait until there's a new upstream release before "fixing" it.

Comment 4 Jan Lieskovsky 2011-10-06 08:52:51 UTC
The CVE identifier of CVE-2011-3599 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2011/10/05/9

Comment 6 Petr Pisar 2013-09-03 09:03:03 UTC
Does SELinux policy deny access to /dev/random in some cases? If yes, then such process would be affected.

I can imagine an administrator will confine a third-party application by assigning a dedicated label to increase security. Because default policy is to deny, the DSA generation will get doomed.

Comment 7 Paul Howarth 2013-09-03 09:32:24 UTC
You're right. I'll look at doing an update later today.

Comment 8 Fedora Update System 2013-09-13 01:10:29 UTC
perl-Crypt-DSA-1.17-10.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-09-13 01:11:31 UTC
perl-Crypt-DSA-1.17-10.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-09-19 19:33:20 UTC
perl-Crypt-DSA-0.14-8.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-09-19 19:33:59 UTC
perl-Crypt-DSA-1.17-10.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Paul Howarth 2013-09-19 19:41:45 UTC
This is now fixed in all current Fedora and EPEL releases.


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