Missing authorization in PostgreSQL type conversion allows a database user to invoke a cast function despite lacking EXECUTE privilege on that functio...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12postgresql-15 |
< 15.20-0+deb12u1→ 15.20-0+deb12u1 |
15.20-0+deb12u1 |
| Debian:13postgresql-17 |
< 17.12-0+deb13u1→ 17.12-0+deb13u1 |
17.12-0+deb13u1 |
| Debian:14postgresql-18 |
< 18.7-1→ 18.7-1 |
18.7-1 |
Original description The description as published by the source.
Missing authorization in PostgreSQL type conversion allows a database user to invoke a cast function despite lacking EXECUTE privilege on that function, via foreign keys, to_json(), and others. A successful attack requires the attacker to search each database for access-restricted cast functions and identify confidentiality impact specific to each function implementation found. There are few or no practical examples of an access-restricted cast function or of a cast function having confidentiality impact. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org