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

RCE 0-day in log4j #325

Open
davcamer opened this issue Dec 10, 2021 · 3 comments
Open

RCE 0-day in log4j #325

davcamer opened this issue Dec 10, 2021 · 3 comments
Assignees

Comments

@davcamer
Copy link

Guidelines

This is a known issue already tracked in the core repository: neo4j/neo4j#12796

Elasticsearch is updating its docker images to include the mitigating configuration. For example:
elastic/elasticsearch#81623

Is there work in progress to include the mitigating config in Neo4j docker images?

@enys
Copy link

enys commented Dec 13, 2021

Setting

- NEO4J_dbms_jvm_additional=-XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -XX:MaxInlineLevel=15 -XX:-UseBiasedLocking -Djdk.nio.maxCachedBufferSize=262144 -Dio.netty.tryReflectionSetAccessible=true -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -Dlog4j2.formatMsgNoLookups=true -Dlog4j2.disable.jmx=true```

Mitigates the problem in 4.3.7, but not in 4.2.9, any clue ?

@motey
Copy link

motey commented Dec 13, 2021

neo4j claims to have a mitigate fix included in the docker images

https://community.neo4j.com/t/log4j-cve-mitigation-for-neo4j/48856

The docker images have also been updated with a config setting disabling jmx.

But i cant see any activities in the repo, backing this claim.

Also asked in the forum already:

https://community.neo4j.com/t/log4j-cve-mitigation-for-neo4j-the-docker-images-have-also-been-updated-with-a-config-setting-disabling-jmx/48926

@motey
Copy link

motey commented Dec 13, 2021

Is there work in progress to include the mitigating config in Neo4j docker images?

Seems to be done allready

https://community.neo4j.com/t/log4j-cve-mitigation-for-neo4j-the-docker-images-have-also-been-updated-with-a-config-setting-disabling-jmx/48926/2?u=bleimehl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants