Apache AGE: Python and Golang drivers allow data manipulation and exposure due to SQL injection
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2022-45786
- Vendor
- CVE Published:
- 4 February 2023
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Age. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (8.1).
What is CVE-2022-45786?
An SQL injection vulnerability arises from inadequate parameterization in the AGE drivers for Golang and Python, specifically affecting AGE for PostgreSQL 11 and 12. It enables unvalidated input to exploit the cypher() function, potentially leading to unauthorized data access. Developers must update to the latest drivers and AGE versions to implement a new function that facilitates proper parameterization, thus mitigating the risk of injection attacks. This fix addresses the unique challenges posed by the cypher() function, ensuring that sensitive queries are executed in a secure manner.
Affected Version(s)
Apache AGE Apache AGE for PostgreSQL 12 <= 1.1.0
Apache AGE Apache AGE for PostgreSQL 11 <= 1.1.0
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction