Advisories

Nezha before 2.6.2 Memory Exhaustion DoS via Unbounded JSON in AfterFind

Go back
Severity
high
Date
Affecting
  • nezha < 2.6.2

CWE
  • CWE-770 Allocation of Resources Without Limits or Throttling
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
GG-Feng
Description
Nezha before 2.6.2 contains an uncontrolled resource allocation vulnerability in the dashboard that persists unbounded ddns_profiles and skip_servers JSON values and re-parses them without size limits in GORM AfterFind hooks. Authenticated members with server or service write scopes can submit oversized arrays or maps via PATCH /server/:id, POST /service, or PATCH /service/:id, exhausting memory on every dashboard read and potentially crashing the 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.