CVE-2025-71004

6.5 MEDIUM

📋 TL;DR

A segmentation violation vulnerability in OneFlow's logical_or component allows attackers to crash the application via specially crafted input, causing Denial of Service. This affects systems running OneFlow v0.9.0 where the logical_or function is used. Users of affected versions are vulnerable to service disruption.

💻 Affected Systems

Products:
  • OneFlow
Versions: v0.9.0
Operating Systems: All platforms running OneFlow
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems using the oneflow.logical_or component. Other OneFlow components remain unaffected.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete service outage with potential data corruption if the crash occurs during critical operations, requiring manual restart and recovery.

🟠

Likely Case

Application crash requiring restart, causing temporary service disruption and potential loss of in-process operations.

🟢

If Mitigated

Minimal impact with proper monitoring and automated recovery systems in place to restart services quickly.

🌐 Internet-Facing: MEDIUM - Exploitation requires sending crafted input to the vulnerable component, which may be exposed through APIs or user inputs.
🏢 Internal Only: LOW - Internal systems are less likely to receive malicious crafted inputs unless compromised internally.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires crafting specific input to trigger the segmentation violation, but no public exploit code has been identified.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Not available

Vendor Advisory: https://github.com/Oneflow-Inc/oneflow/issues/10655

Restart Required: Yes

Instructions:

1. Monitor the GitHub issue for patch release. 2. Upgrade to patched version once available. 3. Restart all OneFlow services after patching.

🔧 Temporary Workarounds

Input Validation

all

Implement strict input validation for logical_or function inputs to prevent malicious payloads.

Service Monitoring

all

Deploy monitoring and automatic restart mechanisms to minimize downtime from crashes.

🧯 If You Can't Patch

  • Isolate systems using OneFlow logical_or component from untrusted inputs
  • Implement rate limiting and input sanitization for all logical_or function calls

🔍 How to Verify

Check if Vulnerable:

Check if running OneFlow v0.9.0 and using logical_or component in codebase.

Check Version:

python -c "import oneflow; print(oneflow.__version__)"

Verify Fix Applied:

Verify upgrade to patched version when available and test logical_or with various inputs.

📡 Detection & Monitoring

Log Indicators:

  • Segmentation fault errors
  • OneFlow process crashes
  • Core dumps in application logs

Network Indicators:

  • Unusual input patterns to logical_or endpoints
  • Sudden service unavailability

SIEM Query:

source="application.log" AND "segmentation fault" AND "oneflow"

🔗 References

📤 Share & Export