Skip to content
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

log4j dependency has critical vulnerability CVE-2021-44228 #53

Closed
daniel-beck opened this issue Dec 11, 2021 · 17 comments
Closed

log4j dependency has critical vulnerability CVE-2021-44228 #53

daniel-beck opened this issue Dec 11, 2021 · 17 comments
Assignees
Labels
bug Something isn't working

Comments

@daniel-beck
Copy link
Member

See https://issues.jenkins.io/browse/JENKINS-67353

@daniel-beck daniel-beck added the bug Something isn't working label Dec 11, 2021
@cniweb
Copy link

cniweb commented Dec 13, 2021

@daniel-beck until when can we expect a fix?

I think, this is the dependency:

[ERROR]     * [CVE-2021-44228] Remote Code Execution (9.0); https://ossindex.sonatype.org/vulnerability/9e818913-69a3-41c8-9bcc-6293b378c53a?component-type=maven&component-name=org.apache.logging.log4j.log4j-core&utm_source=ossindex-client&utm_medium=integration&utm_content=1.1.1
[ERROR]   org.eclipse.jetty:jetty-http:jar:9.4.5.v20170502:test; https://ossindex.sonatype.org/component/pkg:maven/org.eclipse.jetty/[email protected]?utm_source=ossindex-client&utm_medium=integration&utm_content=1.1.1

https://ossindex.sonatype.org/vulnerability/9e818913-69a3-41c8-9bcc-6293b378c53a?component-type=maven&component-name=org.apache.logging.log4j.log4j-core&utm_source=ossindex-client&utm_medium=integration&utm_content=1.1.1

@daniel-beck
Copy link
Member Author

until when can we expect a fix?

I'm not a maintainer, you're going to have to ask them.

@maikheene
Copy link

maikheene commented Dec 13, 2021

jfyi: I wrote a Support-Ticket (SUPPORT-45549) for this issue. Maybe that's speed up the fix.

@Russell616
Copy link

Hi everyone!

I'm one of the maintainers of this repository. We are aware of this issue and working on a fix. The pull request and the release will happen in the next few days, before the end of this week.

We will update this thread as soon as we have any updates.

@Russell616 Russell616 self-assigned this Dec 13, 2021
Russell616 added a commit that referenced this issue Dec 14, 2021
#53 XRAYJENKINS-132 Bump version dependencies
@Russell616
Copy link

Hi everyone,

We are ready to deploy the new version as soon as the accounts.jenkins.io is back online in order for us to reset our credentials. Around 2 months ago all passwords in the Jenkins ecosystem were revoked something that I, unfortunately, didn't notice at the time.

According to this thread of some other developers with the same problem, the Jenkins' security team is still investigating the impact of the log4j vulnerability.

Maybe @daniel-beck may have more information regarding when they expect to have the accounts.jenkins.io operational.

Meanwhile, in case you don't want to wait for the official release, you are free to manually download and install the release candidate (2.5.2) from the official Jenkins build

I'm going to keep this thread open and up-to-date with the most recent information.

@daniel-beck
Copy link
Member Author

@Russell616 I'll check with the infra team.

@rhutchison
Copy link

@Russell616 https://www.zdnet.com/article/second-log4j-vulnerability-found-apache-log4j-2-16-0-released/

@Wadeck
Copy link

Wadeck commented Dec 15, 2021

As mentioned by @rhutchison
⚠️ Update to 2.15 is not sufficient due to https://nvd.nist.gov/vuln/detail/CVE-2021-45046, it requires 2.16.
This one is less important but will still be detected by scanners and alert all users.

@Russell616
Copy link

I will update again the log4j dependency, I will let you all know when the new release candidate is available to be downloaded

@Russell616
Copy link

You can download the latest build (2.5.2.1) using log4j 2.16.0 from the Jenkins build

@rhutchison
Copy link

You can download the latest build (2.5.2.1) using log4j 2.16.0 from the Jenkins build

Thank you for the support and quick remediation

Result: (file:/C:/Program%20Files%20(x86)/Jenkins/plugins/xray-connector/WEB-INF/lib/log4j-core-2.16.0.jar )

@trydydd
Copy link

trydydd commented Dec 15, 2021

@Russell616 it looks like https://accounts.jenkins.io/ is once again available. Could we get an ETA for this release?

Thanks!

@daniel-beck
Copy link
Member Author

daniel-beck commented Dec 15, 2021

(Looks like the error page gets cached so might need a reload. That's annoying. I poked infra folks about it for the future.)

@Russell616
Copy link

Could we get an ETA for this release?

The ETA is now 😄

We just released the version 2.5.2.1 in the Jenkins maven repo.

For all of you, who want to install manually the plugin, you can use the release git tag.

In a few hours, the new release will be available to download in the plugins page in your own Jenkins instances (there is a delay between the time of the release and the and the time when ths version is avaible to download via UI)

I will keep this issue open until we make sure that the plugin is displayed in the Jenkins index page

@trydydd
Copy link

trydydd commented Dec 15, 2021

Already installed in our dev environment. Thank you!

@daniel-beck
Copy link
Member Author

there is a delay between the time of the release and the and the time when ths version is avaible to download via UI

Usually less than 5 minutes, just remember to query for updates. plugins.jenkins.io is a lot slower.

@joaocfernandes
Copy link

Thanks @Russell616 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants