Description
The address_standardizer extension for PostGIS through 3.7.0, fixed in commit 423570b, contains an out-of-bounds write vulnerability that allows a database user with the ability to supply caller-controlled relation names to standardize_address() to trigger memory corruption by providing a rules table with a classification Type value exceeding the fixed class range. Attackers can craft a malicious rules table entry with an oversized rule type value that is used without bounds checking as an index into an internal output-link table, resulting in an out-of-bounds write.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PostGIS | address_standardizer | — | — |
References
- Researcher Blog technical-description exploit
- Pull Request (1) issue-tracking patch
- Pull Request (2) issue-tracking patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/postgis-address-standardizer-out-of-bounds-write-via-standardize-address third-party-advisory