CVE-2023-30558

Source
https://cve.org/CVERecord?id=CVE-2023-30558
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30558.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30558
Aliases
  • GHSA-jwjj-jgfv-x66q
Published
2023-04-18T22:35:41.962Z
Modified
2026-07-15T01:49:19.331646782Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Multiple SQL injections in sql/data_dictionary.py table_list method in Archery - GHSL-2022-105
Details

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. User input coming from the db_name in the sql/data_dictionary.py table_list endpoint is passed to the methods that follow in a 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 affected methods are get_group_tables_by_db in sql/engines/mssql.pywhich passes unsafe user input to sql/engines/mssql.py, and get_group_tables_by_db in sql/engines/oracle.pywhich 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-105.

Database specific
{
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30558.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/hhyo/archery

Affected ranges

Type
GIT
Repo
https://github.com/hhyo/archery
Events
Database specific
{
    "cpe": "cpe:2.3:a:archerydms:archery:1.9.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.9.0"
        },
        {
            "introduced": "1.9.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}

Affected versions

1.*
1.9.0
v1.*
v1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30558.json"