Open psharkey opened 10 months ago
@psharkey please retry with a supported Docker version (> 23.0) . The Docker version you are using is outdated.
https://github.com/snyk/leaky-vessels-static-detector/blob/main/gh_crawler/README.md?plain=1#L8-L9 says these are optional but https://github.com/snyk/leaky-vessels-static-detector/blob/main/gh_crawler/src/collect_dockerfiles.sh#L22 requires them?
https://github.com/snyk/leaky-vessels-static-detector/blob/main/gh_crawler/README.md?plain=1#L22-L25 - the image names static-scanner
and static-detector
are not consistent.
Also, the --dockerhub flag causes -
time="2024-02-05T16:01:49Z" level=info msg="[ + ] Running Leaky Vessels Static Detector"
flag provided but not defined: -dockerhub
Usage of dockerfile:
-base
Run analysis on base image.
-debug
Enable debug logs.
-disable string
Comma-seperated list of rule ids to turn off. List of rule Ids:
1 - runc process.cwd & Leaked fds Container Breakout [CVE-2024-21626]
2 - Buildkit Mount Cache Race: Build-time Race Condition Container Breakout [CVE-2024-23651]
3 - Buildkit GRPC SecurityMode Privilege Check [CVE-2024-23653]
4 - Buildkit Build-time Container Teardown Arbitrary Delete [CVE-2024-23652]
-env string
Path to .env file.
-f string
Path to dockerfile.
gh_data/xxx/Dockerfile ... error parsing dockerfile
Also, the --dockerhub flag causes -
time="2024-02-05T16:01:49Z" level=info msg="[ + ] Running Leaky Vessels Static Detector" flag provided but not defined: -dockerhub Usage of dockerfile: -base Run analysis on base image. -debug Enable debug logs. -disable string Comma-seperated list of rule ids to turn off. List of rule Ids: 1 - runc process.cwd & Leaked fds Container Breakout [CVE-2024-21626] 2 - Buildkit Mount Cache Race: Build-time Race Condition Container Breakout [CVE-2024-23651] 3 - Buildkit GRPC SecurityMode Privilege Check [CVE-2024-23653] 4 - Buildkit Build-time Container Teardown Arbitrary Delete [CVE-2024-23652] -env string Path to .env file. -f string Path to dockerfile. gh_data/xxx/Dockerfile ... error parsing dockerfile
Yes, the --dockerhub
flag caused issues and has been fixed to --base
flag in #15
Details -