Bug 2128146 (CVE-2022-40313)

Summary: CVE-2022-40313 moodle: Stored XSS and page denial of service risks due to recursive rendering in Mustache template helpers
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: gwync, igor.raits
Target Milestone: ---Keywords: Security
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: 2022-11-27 14:55:00 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: 2128148, 2128149    
Bug Blocks: 2125553    

Description Sandipan Roy 2022-09-20 05:16:29 UTC
Severity/Risk: 	Serious
Versions affected: 	4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions
Versions fixed: 	4.0.4, 3.11.10 and 3.9.17
Reported by: 	Adam Roberts, NCC Group
CVE identifier: 	CVE-2022-40313
Changes (master): 	http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-68066
Tracker issue: 	MDL-68066 Stored XSS and page denial of service risks due to recursive rendering in Mustache template helpers

Comment 1 Sandipan Roy 2022-09-20 05:18:10 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 2128148]
Affects: fedora-all [bug 2128149]

Comment 2 Product Security DevOps Team 2022-11-27 14:54:58 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.