After a long investigation, I found out that the problem with the flawfinder infinite loop, is that the report returned by the docker sdk is incomplete.
On the docker sdk repository exists a open issue to this behavior, and while this is not fixed by the upstream, we will need to find a workaround.
https://github.com/docker/docker-py/issues/1696
Metadata Update from @davidcarlos: - Issue set to the milestone: version 0.2.3 - Issue tagged with: Bug, analyzers
Commit 2588b9e0 relates to this ticket
Apparently, this a docker version issue. On the production environment, I was not able to reproduce this bug.
We will need to find out what changed on this versions, and run kiskadee with a specific docker version.
Metadata Update from @davidcarlos: - Issue status updated to: Closed (was: Open)