Bug 2214153

Summary: CVE-2020-36732 dotnet6.0: dotnet: Insecure Randomness [fedora-all]
Product: [Fedora] Fedora Reporter: Sandipan Roy <saroy>
Component: dotnet6.0Assignee: Omair Majid <omajid>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 38CC: crummel, omajid
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-25 19:33:22 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:    
Bug Blocks: 2214150    

Description Sandipan Roy 2023-06-12 05:56:58 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2214150

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Sandipan Roy 2023-06-12 05:57:01 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=medium

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2214150,2214153

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Omair Majid 2023-07-25 19:33:22 UTC
Searching the .NET 6.0.120 source code, I only see crypto-js versions 4.1.1 or later being used:

$ ag -F crypto-js
dotnet-v6.0.120/src/aspnetcore/src/Components/WebAssembly/WebAssembly.Authentication/src/Interop/yarn.lock
1470:crypto-js@^4.0.0:
1472:  resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf"
2227:    crypto-js "^4.0.0"

dotnet-v6.0.120/src/aspnetcore/src/submodules/spa-templates/src/content/Angular-CSharp/ClientApp/package-lock.json
4827:    "node_modules/crypto-js": {
4829:      "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
8659:        "crypto-js": "^4.0.0",
15424:    "crypto-js": {
15426:      "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
18362:        "crypto-js": "^4.0.0",

dotnet-v6.0.120/src/aspnetcore/src/submodules/spa-templates/src/content/React-CSharp/ClientApp/package-lock.json
5735:    "node_modules/crypto-js": {
5737:      "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
12157:        "crypto-js": "^4.0.0",
21279:    "crypto-js": {
21281:      "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
25908:        "crypto-js": "^4.0.0",