Advisories

Scriban before 6.6.0 Denial of Service via Unbounded String Generation

Go Back
severity
medium
date
Affecting
  • scriban >= 0, < 6.6.0

CWE
  • CWE-400 Uncontrolled Resource Consumption
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Description
Scriban before 6.6.0 contains a denial of service vulnerability where TemplateContext.LimitToString defaults to unlimited, allowing attackers to cause memory exhaustion through exponential string growth. Attackers can supply malicious templates with repeated string concatenation operations that allocate gigabytes of memory in seconds, exhausting heap resources and crashing the host process.

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.