{"id":"CVE-2024-7099","published":"2024-10-13T21:09:53Z","modified":"2024-10-15T14:56:00Z","title":"SQL Injection in netease-youdao/qanything","vendor":"netease-youdao","product":"netease-youdao/qanything","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00981,"percentile":0.61031,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://huntr.com/bounties/bc98983e-06cc-4a4b-be01-67e5010cb2c1","tags":[]},{"url":"https://github.com/netease-youdao/qanything/commit/a87354f09d93e95350fb45eb343dc75454387554","tags":[]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":12.21},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"netease-youdao","affectedVersions":[{"vendor":"netease-youdao","product":"netease-youdao/qanything","versions":[">= unspecified, < 1.4.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-14T15:32:53.357493Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-48082","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-netease-youdao-qanything-cve-2024-25722","parents":[{"from":"CVE-2024-25722","to":"CVE-2024-7099","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["qanything_kernel/connector/database/mysql/mysql_client.py"],"commits":["https://github.com/netease-youdao/QAnything/commit/35753b892c2c4361b318d68dfa3e251c85ce889c","https://github.com/netease-youdao/qanything/commit/a87354f09d93e95350fb45eb343dc75454387554"],"basis":"shared function","functions":["check_file_exist","check_user_exist_","get_users"]}]}]}}