{"id":"CVE-2024-7099","summary":"SQL Injection in netease-youdao/qanything","details":"netease-youdao/qanything version 1.4.1 contains a vulnerability where unsafe data obtained from user input is concatenated in SQL queries, leading to SQL injection. The affected functions include `get_knowledge_base_name`, `from_status_to_status`, `delete_files`, and `get_file_by_status`. An attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially stealing information from the database. The issue is fixed in version 1.4.2.","modified":"2026-08-12T03:51:11.085699173Z","published":"2024-10-13T21:09:53.816Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7099.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/bc98983e-06cc-4a4b-be01-67e5010cb2c1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7099.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7099"},{"type":"FIX","url":"https://github.com/netease-youdao/qanything/commit/a87354f09d93e95350fb45eb343dc75454387554"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/netease-youdao/qanything","events":[{"introduced":"e0181b7c14feeb4f6b38c1f193f3bf032ef429ef"},{"fixed":"a87354f09d93e95350fb45eb343dc75454387554"}],"database_specific":{"cpe":"cpe:2.3:a:qanything:qanything:1.4.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.4.1"},{"last_affected":"1.4.1"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["1.4.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7099.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}