Advisories

PostGIS through 3.7.0 Out-of-Bounds Read via ST_Reclass Range Parsing

Go back
Severity
high
Date
Affecting
  • PostGIS <= 3.7.0

CWE
  • CWE-125 Out-of-bounds Read
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Sven Klemm (Tiger Data), Zachariah Mithani (AploSec)
Description
PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in RASTER_reclass that allows low-privileged database roles to crash the server by supplying a range consisting only of a bracket. Attackers can call ST_Reclass with a crafted reclass expression like '(:1' to read past the token array, triggering SIGSEGV and a cluster restart that drops all sessions.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.