原始 OSV JSON{
"id": "GHSA-6jhm-4vmx-mr76",
"aliases": [
"CVE-2022-0332"
],
"details": "A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQL injection risk was identified in the h5p activity web service responsible for fetching user attempt data.",
"summary": "SQL injection in Moodle",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.11"
},
{
"fixed": "3.11.5"
}
]
}
],
"package": {
"name": "moodle/moodle",
"ecosystem": "Packagist"
}
}
],
"modified": "2022-02-02T16:11:16Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2022-01-28T22:08:14Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0332",
"type": "ADVISORY"
},
{
"url": "https://github.com/moodle/moodle/commit/c7a62a8c82219b50589257f79021da1df1a76808",
"type": "WEB"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2043661",
"type": "WEB"
},
{
"url": "https://github.com/moodle/moodle",
"type": "WEB"
},
{
"url": "https://moodle.org/mod/forum/discuss.php?d=431099",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2022-01-25T20:15:00Z",
"github_reviewed_at": "2022-01-26T22:49:44Z"
}
}