Vulnerabilites related to prest - prest
CVE-2025-58450 (GCVE-0-2025-58450)
Vulnerability from cvelistv5
Published
2025-09-08 21:35
Modified
2025-09-09 13:30
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Summary
pREST (PostgreSQL REST), is an API that delivers an application on top of a Postgres database. SQL injection is possible in versions prior to 2.0.0-rc3. The validation present in versions prior to 2.0.0-rc3 does not provide adequate protection from injection attempts. Version 2.0.0-rc3 contains a patch to mitigate such attempts.
References
▼ | URL | Tags |
---|---|---|
https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98 | x_refsource_CONFIRM | |
https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c | x_refsource_MISC |
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2025-58450", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2025-09-09T13:16:04.505475Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-09-09T13:30:44.306Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "references": [ { "tags": [ "exploit" ], "url": "https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98" } ], "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "prest", "vendor": "prest", "versions": [ { "status": "affected", "version": "\u003c 2.0.0-rc3" } ] } ], "descriptions": [ { "lang": "en", "value": "pREST (PostgreSQL REST), is an API that delivers an application on top of a Postgres database. SQL injection is possible in versions prior to 2.0.0-rc3. The validation present in versions prior to 2.0.0-rc3 does not provide adequate protection from injection attempts. Version 2.0.0-rc3 contains a patch to mitigate such attempts." } ], "metrics": [ { "cvssV4_0": { "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 9.3, "baseSeverity": "CRITICAL", "privilegesRequired": "NONE", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-89", "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-09-08T21:35:01.452Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98" }, { "name": "https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c" } ], "source": { "advisory": "GHSA-p46v-f2x8-qp98", "discovery": "UNKNOWN" }, "title": "pREST has Systemic SQL Injection Vulnerability" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2025-58450", "datePublished": "2025-09-08T21:35:01.452Z", "dateReserved": "2025-09-01T20:03:06.533Z", "dateUpdated": "2025-09-09T13:30:44.306Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }