Closed nddipiazza closed 2 years ago
I think the default might have changed to not scan symlinks automatically, but I don't remember for certain, or when.
Hmm, I just checked the release notes. I think I'm wrong. My bad.
@nddipiazza Ah.. At first I think that you reported symlink file. Scanner does not follow symlink directory any more by default. It may cause infinite traverse loop. --no-symlink
option means 'Do not scan or detect symlink file'.
@nddipiazza Just released v2.6.0. It will follow symlink if user explicitly specified file path.
@xeraph thanks so much for looking at this. can you elaborate what you mean by if user explicitly specified file path.
?
never mind, I understand what you mean now.
log4j2-scan
- will not follow sym links
log4j2-scan /my/path
- will follow sym links
log4j2-scan --no-symlink /my/path
- will not follow sym links
@nddipiazza Technically, it means depth 0 scan target paths. :D
Verified fixed with v2.6.0. Closing.
symlinks are no longer scanning.
steps to reproduce
finds 0 vulns
note: Scanner 1.7.0 (2021-12-17) did not have this problem. this is new regression.