Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-35436

CVE-2025-35436: Cisa Thorium DOS Vulnerability

CVE-2025-35436 is a denial of service vulnerability in Cisa Thorium caused by improper error handling in account verification. Attackers can crash the system with crafted email inputs. This article covers technical details, impact, and mitigation.

Updated:

CVE-2025-35436 Overview

CVE-2025-35436 is a denial-of-service vulnerability in CISA Thorium, a scalable file analysis and automation platform developed by the Cybersecurity and Infrastructure Security Agency (CISA). The flaw resides in the account verification email handling logic, where the code uses Rust's .unwrap() to process email-related results. An unauthenticated remote attacker can supply a specially crafted email address or response to trigger a panic, crashing the affected component. The issue is tracked under [CWE-248] (Uncaught Exception) and has been fixed in commit 6a65a27.

Critical Impact

Unauthenticated remote attackers can crash the Thorium account verification service by sending a malformed email input, disrupting availability of the analysis platform.

Affected Products

  • CISA Thorium (versions prior to commit 6a65a2711fb2387e8c3eacebc774053741bf5aeb)
  • Thorium account verification email handling component
  • Deployments exposing Thorium registration or verification endpoints to untrusted networks

Discovery Timeline

  • 2025-09-17 - CVE-2025-35436 published to NVD
  • 2025-12-19 - Last updated in NVD database

Technical Details for CVE-2025-35436

Vulnerability Analysis

The vulnerability stems from improper error handling in CISA Thorium's account verification workflow. Rust's .unwrap() method extracts the inner value of a Result or Option type. When the value represents an error or None, .unwrap() invokes a panic, terminating the current thread or process. The Thorium codebase applies .unwrap() to results derived from account verification email messages without first validating the input.

An attacker submits a crafted email address or manipulates a verification response so that the underlying parser returns an Err variant. The unwrap call then panics, aborting the service path that handled the request. Because the attack requires no authentication and only network access to the registration or verification endpoint, the cost of exploitation is low.

Root Cause

The root cause is an uncaught exception pattern [CWE-248]. The verification logic assumes that email parsing and SMTP-level operations always succeed. Instead of returning a graceful error to the caller or logging the failure, the code panics on any unexpected input. This converts an input validation gap into a process-level availability issue.

Attack Vector

Exploitation occurs over the network against any Thorium instance that exposes account registration or email verification. The attacker sends an HTTP request containing an email address or verification token that triggers the failing code path. No user interaction or prior privileges are required. The resulting panic disrupts the verification flow and, depending on deployment topology, can affect dependent worker tasks.

No verified public proof-of-concept code is available. See the CISA CSAF Document and the CVE-2025-35436 Record for technical details.

Detection Methods for CVE-2025-35436

Indicators of Compromise

  • Repeated registration or verification requests containing malformed, oversized, or non-RFC-compliant email addresses against Thorium endpoints.
  • Application logs showing Rust panic messages referencing unwrap() failures in account verification modules.
  • Unexpected restarts or crash loops of the Thorium API or worker process correlated with inbound verification traffic.

Detection Strategies

  • Monitor Thorium application logs for panic stack traces originating from email verification handlers and alert on recurrence.
  • Inspect web access logs for high-volume POST requests to registration and verification endpoints from a single source.
  • Correlate process termination events on Thorium hosts with preceding HTTP requests to the verification API.

Monitoring Recommendations

  • Enable verbose logging on Thorium's authentication and email subsystems to capture parser errors before they reach .unwrap().
  • Track process uptime metrics for Thorium services and alert on abnormal restart frequency.
  • Forward Thorium logs to a centralized SIEM and build queries for panic strings and verification endpoint anomalies.

How to Mitigate CVE-2025-35436

Immediate Actions Required

  • Update Thorium to a build that includes commit 6a65a27.
  • Restrict network access to Thorium registration and verification endpoints to trusted networks until patching is complete.
  • Deploy a reverse proxy or WAF rule to reject malformed email addresses before they reach the application.

Patch Information

The maintainers fixed the issue in commit 6a65a2711fb2387e8c3eacebc774053741bf5aeb. The patch replaces the unsafe .unwrap() calls with explicit error handling in the account verification email path. Operators should rebuild and redeploy Thorium from a source tree that includes this commit. Refer to the GitHub Commit Update for the exact code changes.

Workarounds

  • Place Thorium behind an authenticating reverse proxy so unauthenticated users cannot reach verification endpoints directly.
  • Apply rate limiting on registration and verification routes to slow automated abuse.
  • Validate email address syntax at the proxy layer using a strict RFC 5322 regex before forwarding requests upstream.
bash
# Configuration example: nginx rate limiting and input filtering for Thorium verification endpoints
http {
    limit_req_zone $binary_remote_addr zone=thorium_verify:10m rate=5r/m;

    server {
        location /api/verify {
            limit_req zone=thorium_verify burst=10 nodelay;
            if ($arg_email !~* "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$") {
                return 400;
            }
            proxy_pass http://thorium_backend;
        }
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.