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.
{
"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"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:qanything:qanything:1.4.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.1"
},
{
"last_affected": "1.4.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "a87354f09d93e95350fb45eb343dc75454387554"
}
],
"source": "REFERENCES_COMMIT"
}
]
}