CVE-2026-48593

Unbounded range expansion in cron describe causes memory exhaustion in oban_web

Published May 26, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Uncontrolled Resource Consumption vulnerability in oban-bg oban_web (Oban.Web.CronExpr modules) allows memory exhaustion via unbounded cron range expansion.

An attacker with access to schedule cron jobs can submit a malicious cron expression such as "0 0 1-100000000 * *". When a user with dashboard access views the cron job list, Oban.Web.CronExpr.describe/1 is called to render the expression. parse_range/2 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not.

This issue affects oban_web: from 2.12.0 before 2.12.5.

Analysis

AI-generated

Technical impact

The vulnerability is an uncontrolled resource consumption flaw that allows an attacker to trigger memory exhaustion by submitting a cron expression with an unbounded numeric range. When such an expression is viewed in the dashboard, the code in Oban.Web.CronExpr.describe/1 parses the range without bounds checks and eagerly materialises it via Enum.to_list/1, allocating around 2.4 GB of memory and causing the BEAM node to stall or crash. This can bring the web application and any dependents down, resulting in a denial-of-service for legitimate users.

Affected Systems

Vulnerable releases of oban_web range from version 2.12.0 up through 2.12.4. Any instance running one of these versions and allowing users to schedule cron jobs via the dashboard is susceptible.

Risk and Exploitability

The CVSS score of 5.9 denotes moderate risk, while the EPSS score of 0.00417 (~0.4%) indicates a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The attack requires the ability to submit cron schedules through the dashboard, implying an actor with at least privileged or administrative access. Based on the description, the likely attack vector is internal or by a compromised administrator account. Successful exploitation would exhaust memory, degrade performance, or crash the BEAM runtime, effectively denying service to legitimate users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade oban_web to version 2.12.5 or later to apply the fix that bounds cron range parsing.
  • Limit cron schedule creation to trusted administrators or enforce role‑based access control so that only authorized users can create or modify cron expressions.
  • Monitor application memory usage and consider configuring BEAM memory limits or disabling the cron job listing feature until a remediation is applied.

Generated by OpenCVE AI on November 22, 2026 at 23:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6xh2-93p9-vqh4 oban_web: Unbounded range expansion in cron describe causes memory exhaustion
History
Type Values Removed Values Added
Description Uncontrolled Resource Consumption vulnerability in oban-bg oban_web ('Elixir.Oban.Web.CronExpr' modules) allows memory exhaustion via unbounded cron range expansion. An attacker with access to schedule cron jobs can submit a malicious cron expression such as "0 0 1-100000000 * *". When a user with dashboard access views the cron job list, 'Elixir.Oban.Web.CronExpr':describe/1 is called to render the expression. parse_range/1 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not. This issue affects oban_web: from 2.12.0 before 2.12.5. Uncontrolled Resource Consumption vulnerability in oban-bg oban_web (Oban.Web.CronExpr modules) allows memory exhaustion via unbounded cron range expansion. An attacker with access to schedule cron jobs can submit a malicious cron expression such as "0 0 1-100000000 * *". When a user with dashboard access views the cron job list, Oban.Web.CronExpr.describe/1 is called to render the expression. parse_range/2 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not. This issue affects oban_web: from 2.12.0 before 2.12.5.
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Uncontrolled Resource Consumption vulnerability in oban-bg oban_web ('Elixir.Oban.Web.CronExpr' modules) allows memory exhaustion via unbounded cron range expansion. An attacker with access to schedule cron jobs can submit a malicious cron expression such as "0 0 1-100000000 * *". When a user with dashboard access views the cron job list, 'Elixir.Oban.Web.CronExpr':describe/1 is called to render the expression. parse_range/1 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not. This issue affects oban_web: from 2.12.0 before 2.12.5.
Title Unbounded range expansion in cron describe causes memory exhaustion in oban_web
First Time appeared Oban Web Project
Oban Web Project oban Web
Weaknesses CWE-400
CPEs cpe:2.3:a:oban_web_project:oban_web:*:*:*:*:*:*:*:*
Vendors & Products Oban Web Project
Oban Web Project oban Web
References
Metrics cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 20, 2026, 8:28 AM
Reserved
May 22, 2026, 9:36 AM
Status
Deferred
Published
May 26, 2026, 9:16 PM
Modified
Nov 20, 2026, 9:20 AM