Bug 863974 (CVE-2014-0083)

Summary: VUL-1: CVE-2014-0083: rubygem-net-ldap: weak salt in password generation
Product: [Novell Products] SUSE Security Incidents Reporter: Alexander Bergmann <abergmann>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED UPSTREAM QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P5 - None CC: jsegitz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexander Bergmann 2014-02-14 09:55:52 UTC
The salting inside password.rb is insufficient as the random salt can only be between 0 and 999. 

> salt = (rand * 1000).to_i.to_s

SLE and openSUSE are not affected as the salting feature is not included.


CVE-2014-0083 was assigned to this issue.

References:
https://github.com/ruby-ldap/ruby-net-ldap/blob/master/lib/net/ldap/password.rb
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0083
https://bugzilla.redhat.com/show_bug.cgi?id=1065086
Comment 1 Alexander Bergmann 2014-02-14 09:56:20 UTC
Closed. Fixed upstream.