OpenCTI-Platform OpenCTI
OpenCTI: User-Controlled ReDoS in JSON Ingestion Mapper
OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to 7.260706.0, the JSON ingestion mapper's extractWithRegexp formula function compiled a user-supplied regular expression with the JavaScript RegExp engine in opencti-platform/opencti-graphql/src/parser/json-mapper.ts without validating its complexity. An authenticated user with JSON mapper creation permission could provide a catastrophically backtracking pattern and matching ingestion input, blocking the Node.js event loop and making the GraphQL API unavailable to all users. Scheduled ingestion could repeatedly execute the malicious mapper without additional attacker action, and recovery could require disabling the mapper and restarting the process. The issue affects availability and does not expose or modify data. This issue is fixed in version 7.260706.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.260706.0
Fixed in 7.260706.0
Mitigation
Upgrade opencti to 7.260706.0 or later.
References
- Vendor advisory github.com/OpenCTI-Platform/opencti/security/a…
- Patch github.com/OpenCTI-Platform/opencti/pull/16935
- Patch github.com/OpenCTI-Platform/opencti/commit/3d7…
1 more
- Release notes github.com/OpenCTI-Platform/opencti/releases/t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.