{"id":"UBUNTU-CVE-2017-2641","details":"In Moodle 2.x and 3.x, SQL injection can occur via user preferences.","modified":"2025-07-16T07:18:20.224780Z","published":"2017-03-26T18:59:00Z","withdrawn":"2025-07-18T16:43:48Z","upstream":["CVE-2017-2641"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-2641"},{"type":"REPORT","url":"https://tracker.moodle.org/browse/MDL-58010"},{"type":"REPORT","url":"https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-58010"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-2641"}],"affected":[{"package":{"name":"moodle","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/moodle@3.0.3+dfsg-0ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.3+dfsg-0ubuntu1"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"moodle","binary_version":"3.0.3+dfsg-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-2641.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}