CVE-2025-61301
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDenial-of-analysis in reporting/mongodb.py and reporting/jsondump.py in CAPEv2 (commit 52e4b43, on 2025-05-17) allows attackers who can submit samples to cause incomplete or missing behavioral analysis reports by generating deeply nested or oversized behavior data that trigger MongoDB BSON limits or orjson recursion errors when the sample executes in the sandbox.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCAPEv2's MongoDB and JSON reporting modules (mongodb.py, jsondump.py) fail to handle deeply nested or oversized behavior data generated during sandbox analysis. This triggers MongoDB BSON document size/nesting limits or causes orjson recursion errors, resulting in incomplete or missing analysis reports.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify CAPEv2 installation and versionLocate the CAPEv2 installation directory (commonly /opt/CAPEv2 or ~/CAPE) and check for version information in files like setup.py, version.py, or git tagsAffected if CAPEv2 is installed without nesting/size limits enforced on behavior data before reporting modules process it
-
Check if MongoDB reporting module is enabledInspect the reporting configuration (usually conf/reporting.conf or similar) for 'mongodb' or 'mongodb.py' in the enabled modules section; also check for mongodb.py in the modules/reporting/ directoryAffected if The mongodb reporting module is listed as enabled in CAPEv2's reporting configuration
-
Check if JSON reporting module is enabledInspect the reporting configuration for 'jsondump' or 'jsondump.py' in the enabled modules section; also verify jsondump.py exists in modules/reporting/Affected if The jsondump reporting module is listed as enabled in CAPEv2's reporting configuration
-
Verify MongoDB is in use for CAPEv2 analysis storageCheck CAPEv2's database configuration (conf/database.conf or similar) for MongoDB connection settings; confirm the MongoDB service is running and accessible to CAPEv2Affected if CAPEv2 is configured to store analysis results in MongoDB and the service is active
-
Inspect behavior data processing for nesting depth handlingExamine the mongodb.py and jsondump.py source files in modules/reporting/ for any existing validation or limits on nesting depth or data size before insertion/processingAffected if The reporting modules lack input validation that enforces nesting depth and size limits on behavior data
A user is affected if CAPEv2 is installed with either the mongodb.py or jsondump.py reporting module enabled and these modules process deeply nested or oversized behavior data without proper limits enforced.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataImplement input validation to enforce nesting depth and size limits on behavior data before MongoDB insertion; add error handling for orjson recursion with graceful degradation; consider chunking oversized documents or adjusting MongoDB BSON limits.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-61301 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-61301 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data