mirror of https://github.com/postgres/postgres
Maliciously-crafted object names could achieve SQL injection during restore. CVE-2012-0868 fixed this class of problem at the time, but later work reintroduced three cases. CommitREL_18_STABLEbc8cd50fef
(back-patched to v11+ in 2023-05 releases) introduced the pg_dump case. Commit6cbdbd9e8d
(v12+) introduced the two pg_dumpall cases. Move sanitize_line(), unchanged, to dumputils.c so pg_dumpall has access to it in all supported versions. Back-patch to v13 (all supported versions). Reviewed-by: Robert Haas <robertmhaas@gmail.com> Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Backpatch-through: 13 Security: CVE-2025-8715
parent
605fdb989b
commit
13a67ce603
Loading…
Reference in new issue