Additional output of secure log4j Versions
See original GitHub issueHi,
the current implementation does not output secure log4j versions (for example 2.17.1) to the output files (for example csv) and to the console. After investigation in the code, it seems, there are these code fragments in file Detector.java, that prevent this:
...
if (isVulnerableLog4j2(Version.parse(log4j2Version))) {
printDetectionForLog4j2(jarFile, pathChain, log4j2Version, log4j2Mitigated, false);
...
vulnerable = isVulnerableLog4j1(Version.parse(log4j1Version));
if (vulnerable)
printDetectionForLog4j1(jarFile, pathChain, log4j1Version, log4j1Mitigated);
...
Is it possible to ouput this versions as not vulnerable too (for example with a additional command line switch)?
Background: Output of not vulnerable versions is needed for build up a history in splunk.
Thank you
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Apache Log4j Security Vulnerabilities
This page lists all the security vulnerabilities fixed in released versions of Apache Log4j 2. Each vulnerability is given a security impact ...
Read more >What is Apache Log4J Vulnerability and How to Prevent It?
Log4Shell is a severe critical vulnerability affecting many versions of the Apache Log4j application. The vulnerability allows unauthenticated remote code ...
Read more >Additional Guidance Regarding the Log4j Vulnerability - Pitt IT
Log4j version 1.x is not directly vulnerable, because it does not offer a JNDI look up mechanism. However, Log4j 1.x comes with JMSAppender, ......
Read more >Apache Log4j : List of security vulnerabilities - CVE Details
# CVE ID CWE ID Vulnerability Type(s) Publish Date Update Date Score Gaine...
1 CVE‑2022‑23307 502 2022‑01‑18 2022‑07‑25 9.0 None
2 CVE‑2022‑23305 89 Sql 2022‑01‑18...
Read more >Mitigating Log4Shell and Other Log4j-Related Vulnerabilities
The Cybersecurity and Infrastructure Security Agency (CISA), ... In response, Apache released Log4j version 2.16.0 (Java 8).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@OrbbQ3 Would you test v3.0.1 release? You can use
--report-patch
option.Hi @OrbbQ3,
I’ve done a short fix for this: #278