Advisories

PostGIS through 3.7.0 Out-of-Bounds Read via rtpg_chartrim in ST_Reclass

Go back
Severity
medium
Date
Affecting
  • PostGIS <= 3.7.0

CWE
  • CWE-125 Out-of-bounds Read
CVSS
5.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.

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.