-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaning of "MITIGATED" where multiple CVE applies? #237
Comments
@Jwalker107 Mitigated flag means CVE-2021-44228-Scanner/src/main/java/com/logpresso/scanner/Detector.java Lines 239 to 240 in 4620010
Specific to 2.16.0 output, it's a little bit confusing as you said:
CVE-2021-44228-Scanner/src/main/java/com/logpresso/scanner/Detector.java Lines 431 to 441 in 4620010
It might be better to allow multiple vulnerability reports for one file.. |
Thank you, @xeraph, that clears up my question. I do think it would be useful to report on each CVE is still vulnerable to a particular instance, or at least the most severe that remains in the "Vulnerable" state after mitigation. I see some administrators who believe they are in the clear because their report shows "Mitigated" status and they are not understanding that they remain vulnerable to the later CVEs. |
Hi @xeraph , I agree. Our security colleagues prepare lists with the individual CVE findings in order to then provide them with mitigation measures. These lists are then sent to the teams. It would be much better if the lists were already pre-filtered in the output. |
This has been a topic of discussion before, but as the number of CVEs has increased I wanted to ask clarity on the meaning of "MITIGATED". Taking an example JSON file report from Logpresso-Log4jscan-2.7.1, there is only a single result for each detected Log4j-core-2.x.jar file. Here's a sample for a version 2.9.1 result:
If I understand the CVE list correctly, a default Log4j2-core-2.9.1 should be vulnerable to the whole list of them -
This file was previously fixed using the "--fix" option in the scanner and should have the JndiLookup.class removed from it. I believe this makes it "mitigated" against CVE-2021-44228 and CVE-45056 and still "vulnerable" to CVE-2021-45105 and CVE-2021-44832
Since there is only one report line generated for each file, am I correct in understanding that
Any version prior to 2.15.0 would report only the earliest CVE-2021-44228 with status "VULNERABLE" or "MITIGATED", where "MITIGATED" is mitigated against both CVE-2021-44228 and CVE-2021-45046, and actually remain vulnerable to CVE-2021-45105 and CVE-2021-44832?
Version 2.15.0 will report only CVE-2021-45046 with status "VULNERABLE" or "MITIGATED", but actually remain vulnerable to CVE-2021-45105 and CVE-2021-44832?
Version 2.16.0 will report only CVE-2021-45105 with status "VULNERABLE" or "MITIGATED", while remaining vulnerable to CVE-2021-44832.
Specific to 2.16.0, what does "Vulnerable" vs "Mitigated" for CVE-2021-45105 actually mean?
The text was updated successfully, but these errors were encountered: