{"api_version":"1","generated_at":"2026-07-23T11:16:18+00:00","cve":"CVE-2021-37522","urls":{"html":"https://cve.report/CVE-2021-37522","api":"https://cve.report/api/cve/CVE-2021-37522.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37522","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37522"},"summary":{"title":"CVE-2021-37522","description":"SQL injection vulnerability in HKing2802 Locke-Bot 2.0.2 allows remote attackers to run arbitrary SQL commands via crafted string to /src/db.js, /commands/mute.js, /modules/event/messageDelete.js.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-07-18 18:15:00","updated_at":"2023-07-27 03:56:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://cinquito.github.io/jekyll/update/2021/10/17/discord_bot_sqli.html","name":"https://cinquito.github.io/jekyll/update/2021/10/17/discord_bot_sqli.html","refsource":"MISC","tags":[],"title":"CVE-2021-37522 SQLi in Locke-Bot | cinquito’s blog","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gist.github.com/0xHornet/9789d70454a47764b611afc8e84d6c0d","name":"https://gist.github.com/0xHornet/9789d70454a47764b611afc8e84d6c0d","refsource":"MISC","tags":[],"title":"blog.md · GitHub","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-37522","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37522","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"37522","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"locke-bot_project","cpe5":"locke-bot","cpe6":"2.0.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-37522","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"SQL injection vulnerability in HKing2802 Locke-Bot 2.0.2 allows remote attackers to run arbitrary SQL commands via crafted string to /src/db.js, /commands/mute.js, /modules/event/messageDelete.js."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://gist.github.com/0xHornet/9789d70454a47764b611afc8e84d6c0d","refsource":"MISC","name":"https://gist.github.com/0xHornet/9789d70454a47764b611afc8e84d6c0d"},{"refsource":"MISC","name":"https://cinquito.github.io/jekyll/update/2021/10/17/discord_bot_sqli.html","url":"https://cinquito.github.io/jekyll/update/2021/10/17/discord_bot_sqli.html"}]}},"nvd":{"publishedDate":"2023-07-18 18:15:00","lastModifiedDate":"2023-07-27 03:56:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:locke-bot_project:locke-bot:2.0.2:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"37522","Ordinal":"213110","Title":"CVE-2021-37522","CVE":"CVE-2021-37522","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"37522","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}