Bug 2064119 (CVE-2022-0983, MSA-22-0005)

Summary: CVE-2022-0983 moodle: SQL injection risk in badges criteria code
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
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, sergio
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moodle 3.11.6, moodle 3.10.10, moodle 3.9.13 Doc Type: If docs needed, set a value
Doc Text:
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-15 10:31:52 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: 2064124, 2064126    
Bug Blocks: 2064212    

Description TEJ RATHI 2022-03-15 06:13:57 UTC
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.

Versions affected: 3.11 to 3.11.5, 3.10 to 3.10.9, 3.9 to 3.9.12 and earlier unsupported versions

References:
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074

Comment 1 TEJ RATHI 2022-03-15 06:14:29 UTC
Created moodle tracking bugs for this issue:

Affects: epel-7 [bug 2064124]
Affects: fedora-all [bug 2064126]

Comment 3 Product Security DevOps Team 2022-03-15 10:31:50 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.