Advisories

plv8 through 3.2.5 Denial of Service via GetJsonbValue Stack Allocation

Go back
Severity
high
Date
Affecting
  • plv8 <= 3.2.5

CWE
  • CWE-789 Memory Allocation with Excessive Size Value
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
Zachariah Mithani (AploSec)
Description
plv8 through 3.2.5 contains an unbounded stack allocation vulnerability in GetJsonbValue that allows low-privileged database roles to crash backends by passing large jsonb strings. Attackers can call any plv8 function with a jsonb string of tens of megabytes to overflow the stack and repeatedly restart the entire PostgreSQL cluster.

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.