Bug 2214150 (CVE-2020-36732)

Summary: CVE-2020-36732 dotnet: Insecure Randomness
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-12 15:29:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2214151, 2214153    
Bug Blocks:    

Description Sandipan Roy 2023-06-12 05:56:47 UTC
The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.

https://github.com/brix/crypto-js/issues/254
https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472
https://github.com/brix/crypto-js/issues/256
https://github.com/brix/crypto-js/compare/3.2.0...3.2.1
https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b

Comment 1 Sandipan Roy 2023-06-12 05:57:09 UTC
Created dotnet6.0 tracking bugs for this issue:

Affects: fedora-all [bug 2214153]


Created dotnet7.0 tracking bugs for this issue:

Affects: fedora-all [bug 2214151]

Comment 2 Product Security DevOps Team 2023-06-12 15:29:46 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.