Security mailing lists by PureSourceCode

CVE-2023-30557

MEDIUM 6.5CVSS 3.1

Archery is an open source SQL audit platform. The Archery project contains multiple SQL injection vulnerabilities, that may allow an attacker to query the connected databases. Affected versions are subject to SQL injection in the data_dictionary.py table_info. User input coming from the db_name in and the tb_name parameter values in the sql/data_dictionary.py table_info endpoint is passed to the following methods in the given SQL engine implementations, which concatenate user input unsafely into a SQL query and afterwards pass it to the query method of each database engine for execution.The methods are get_table_meta_data in sql/engines/mssql.py which passes unsafe user input to the sql/engines/mssql.py query method, get_table_desc_data in sql/engines/mssql.pywhich passes unsafe user input to the sql/engines/mssql.py query, get_table_index_data in sql/engines/mssql.pywhich passes unsafe user input to the sql/engines/mssql.py query method, get_table_meta_data in sql/engines/oracle.pywhich concatenates input which is passed to execution on the database in the sql/engines/oracle.py query method, get_table_desc_data in sql/engines/oracle.pywhich concatenates input which is passed to execution on the database in the sql/engines/oracle.py query method, and get_table_index_data in sql/engines/oracle.py which concatenates input which is passed to execution on the database in the sql/engines/oracle.py query method. Each of these issues may be mitigated by escaping user input or by using prepared statements when executing SQL queries. This issue is also indexed as GHSL-2022-106.

Published
19 Apr 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-89
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD archerydms archery
cpe:2.3:a:archerydms:archery:1.9.0:*:*:*:*:*:*:*
= 1.9.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.