POSTGRAAS-SERVER · CVE-2018-25088 · Package
FIX → 2.0.0
postgraas-server, a Python service that creates PostgreSQL databases on request, builds SQL from input without proper escaping in its database creation code. An attacker who can reach the service can inject SQL and read or change data in the databases it manages.
first public Jul 18, 2023 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running postgraas-server below 2.0.0 that accept requests to create databases. The flaw is in the PostgreSQL backend handler used when creating databases, so deployments that never call that path or that restrict who can reach the API are at lower risk. unknown whether the sources detail the exact request parameters that reach the injectable code.
Not affected if version-2.0.0-or-later
Who cares postgraas-server, postgresql, python, self-hosted
pip show postgraas-server; versions below 2.0.0 are affected.postgraas_server/backends/postgres_cluster/postgres_cluster_driver.py in the deployed package and review how create_postgres_db builds its SQL.A vulnerability, which was classified as critical, was found in Blue Yonder postgraas_server up to 2.0.0b2. Affected is the function _create_pg_connection/create_postgres_db of the file postgraas_server/backends/postgres_cluster/postgres_cluster_driver.py of the component PostgreSQL Backend Handler. The manipulation leads to sql injection. Upgrading to version 2.0.0 is able to address this issue. The patch is identified as 7cd8d016edc74a78af0d81c948bfafbcc93c937c. It is recommended to upgrade the affected component. VDB-234246 is the identifier assigned to this vulnerability.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
Upgrade to 2.0.0
2.0.0GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.