question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with filename recognition

See original GitHub issue

Hi, we stumbled upon this during our scans:

C:\VM>log4j2-scan-1.6.3.exe --debug log4j-core-2.0-beta7.jar
Logpresso CVE-2021-44228 Vulnerability Scanner 1.6.3 (2021-12-16)
Scanning directory: C:\VM\log4j-core-2.0-beta7.jar
Scan error: 'For input string: "0-beta7"' on file: log4j-core-2.0-beta7.jar
java.lang.NumberFormatException: For input string: "0-beta7"
        at java.lang.Integer.parseInt(Integer.java:652)
        at java.lang.Integer.parseInt(Integer.java:770)
        at com.logpresso.scanner.Log4j2Scanner.loadVulnerableLog4jVersion(Log4j2Scanner.java:1018)
        at com.logpresso.scanner.Log4j2Scanner.checkLog4jVersion(Log4j2Scanner.java:877)
        at com.logpresso.scanner.Log4j2Scanner.scanJarFile(Log4j2Scanner.java:812)
        at com.logpresso.scanner.Log4j2Scanner.traverse(Log4j2Scanner.java:754)
        at com.logpresso.scanner.Log4j2Scanner.run(Log4j2Scanner.java:363)
        at com.logpresso.scanner.Log4j2Scanner.run(Log4j2Scanner.java:117)
        at com.logpresso.scanner.Log4j2Scanner.main(Log4j2Scanner.java:86)

Scanned 0 directories and 1 files
Found 0 vulnerable files
Found 0 potentially vulnerable files
Found 0 mitigated files
Completed in 0.01 seconds

guess he don’t like to calc with 0-beta ^^

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
xeraphcommented, Dec 16, 2021

@NineOfSeven @bernysk Thank you for bug reporting! I will fix this.

2reactions
xeraphcommented, Dec 16, 2021

@NineOfSeven @bernysk Would you test v1.7.0 release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

873847 – Warning: Recognition of file ... for filename with ...
Description of problem: Version-Release number of selected component ... Run rpmlint on a package with filenames containing spaces e. g., ...
Read more >
R: filename list result not recognized for actually reading the ...
Problem: some files have non-standard letters in the filename, e.g. displayed in Windows 10/explorer as '...ü...xlsx' (the character 'ü' ...
Read more >
Bad Filename or Number error during File Import - Kofax
The Bad Filename or Number error can occur during scanning or importing images if the Temporary Image Storage location defined in the batch ......
Read more >
Matlab not recognizing 'filename' command - MathWorks
When I try to call on it later to export the data, it keeps giving me the error: Undefined function or variable 'filename'....
Read more >
During WebCenter Forms Recognition Import, the Error ...
Oracle WebCenter Forms Recognition - Version 11.1.1.9.0 and later: ... to add file '<path>OFR\Invoices\Import\<filename>.tif' to folder!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found