TheHive-Project / TheHive-Project/Cortex
Analyzer EML-Parser doesn't work with Cortex 3.0.0 Docker version
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Analyzer EML-Parser doesn't work with Cortex 3.0.0 Docker version
Request Type
Bug
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | Docker |
| Cortex version / git hash | 3.0.0 |
| Package Type | Docker |
Problem Description
Docker Cortex 3.0.0 is build from a Debian 9 whereas Docker Cortex 2.1.3 is build from Debian 10. In Debian 9, the last python version is 3.5.3 : analyzer EML-Parser doesn't work with this version.
Steps to Reproduce
- Install Cortex 3.0.0 with Docker
- Enable EML-Parser
- Execute several times the analyzer on an eml with as another eml in attachment.
- Note that the body result is random (because the list order is random).
- Reproduce those step on Docker Cortex 2.1.3 and it works.
Possible Solutions
Use a Debian 10 to build the Cortex container, as before.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Docker build configuration for the Cortex 3.0.0 image and compare it with the 2.1.3 image, focusing on the Debian base and Python version used by EML-Parser. Reproduce the attached-EML case and confirm that the analyzer returns a stable body result on the updated base image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, docker, python
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100