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.

Release an up-to-date jar and one for java 6

See original GitHub issue

Follow-up of https://github.com/prometheus/jmx_exporter/pull/584#issuecomment-801915128

How about releasing a dedicated jar for java 6? e.g.

The problem we are having is that we do security scans on our docker images and have processes to force people to fix their issues. And we have to log exceptions and keep explaining that this is not really a vulnerability.

The main benefit of fixing this is that you’ll reduce the amount of communication in random other companies 😄 and this may be masking a real problem in the actual jars of people.

We are currently using 0.14.0 🤷 because 0.15.0 gets flagged.

ps. Happy to help with something of the sort but I am not very familiar with the java world.

fyi @fstab @brian-brazil (I’ve extracted the question in this issue)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
fstabcommented, Jul 1, 2021

I merged it to master. I still need to verify the build and update documentation, but if all goes well I might be able to release this over the weekend.

4reactions
fstabcommented, Apr 7, 2021

Thanks a lot for the suggestion, and sorry for the delay. I will do this. Just to be clear: There is no security risk, because the CVE is just about parsing YAML from untrusted sources, and not about parsing your own config files. However, I understand that it’s annoying to be flagged in security scans, so I will release two versions as suggested above.

As a first step, I created a feature branch for testing the agent with different Java versions (https://github.com/prometheus/jmx_exporter/tree/integration-test). I would like to create automated tests for both the jdk6 version and the jdk8 version, because it will be error prone to check manually if Java 6 still works. Once automated integration tests for both versions are in place, I will create a release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java SE 6 Advanced - Oracle
The version number is 6u201. Please be aware that there is only one more update release scheduled for JDK 6 (October of 2018):....
Read more >
Download Java for OS X 2017-001 - Apple Support
Java for macOS 2017-001 installs the legacy Java 6 runtime for macOS 10.13 High Sierra, macOS 10.12 Sierra, macOS 10.11 El Capitan, ...
Read more >
Where can I get the latest version of Java 6?
For Mac OS X 10.6 and below, use the Software Update feature (available on the Apple menu) to check that you have the...
Read more >
IBM SDK, Java Technology Edition, Version 7 Release 1
Download an Eclipse plug-in .jar file. Copy the .jar file into the dropins directory for your Eclipse installation, for example C:\Users\ username ...
Read more >
Java Versions and Features - Marco Behler
The 6-month release cycle means a lot less features, per release, ... Project Jigsaw: Java Modules and Multi-Release Jar Files.
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