Denial of service via untrapped exception in services validating user-supplied JSON / object input with recursive link schemas.
The blast radius depends on how the application invokes joi:
validate() called without try/catch in a request handler would cause an unhandled exception, potentially crashing the process.validateAsync() or validate() inside a try/catch, the validation fails, but the error type is RangeError rather than a structured ValidationError, complicating error handling.Upgrade to version >= 18.2.1.
Try/catch the validation to avoid uncaught exceptions.
{
"cwe_ids": [
"CWE-248",
"CWE-400"
],
"github_reviewed": true,
"github_reviewed_at": "2026-06-11T13:27:32Z",
"nvd_published_at": null,
"severity": "MODERATE"
}