-
Notifications
You must be signed in to change notification settings - Fork 105
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
[CVE-2021-44228]: Update Log4J to resolve security issues #34
Conversation
Well spotted |
Updating log4j2 across several major versions like this is likely to cause issues (Mojang has actually not updated log4j when they mitigated the issue). Projects probably also won't automatically update to the new version of LegacyLauncher either. I think it would be better to update the project's log4j2.xml to the new version provided here, though that also won't automatically be deployed. |
@Pokechu22 given this project's minimal use of log4j I kinda doubt it |
For this project, sure, but if the goal is to update log4j so that dependencies on this project get a newer log4j version, that could cause issues. |
Perhaps, there's not many downstream dependencies here, and my concern would be game interaction, but I'll compile & test |
If there are unforseen issues with this PR, let me know and I'll close it. |
Note that beta 1.7.3 (and in fact 1.5.2, the latest vanilla version to use launchwrapper) use version 1.5, which predates the version that added log4j (launchwrapper 1.9, I think), so they shouldn't be affected. It's mods that use newer versions, to my understanding. |
Yes but this PR would bump to 1.12 which includes log4j |
Would probably be good to update the Log4j version either way (for future users of this library). But as mentioned by Pokechu an additional fix might be needed for those who cannot easily update the Log4j version? |
Why is this closed? This is still an issue that should be addressed. It's a zero-day, for crying out loud. |
Well, as stated in Mojang/DataFixerUpper#60, it seems that mojang is switching to slf4j. But I guess I'll reopen until a fix is pushed here. |
Note: This still needs testing on game versions which contain log4j. Additionally, only updating to log4j 2.16+ will fully resolve all known vulnerabilities. See https://www.lunasec.io/docs/blog/log4j-zero-day/ |
Actually does Mojang even listen to PRs anymore? They're probably more
likely to come up with their own solution for this, but they don't even
seem to be aware of this vuln existing in LegacyLauncher too. All official
docs say only 1.7-1.18 are affected.
…On Fri, Dec 17, 2021, 10:03 PM Gamebuster ***@***.***> wrote:
Note: This still needs testing on game versions which contain log4j.
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGS7E2HMKHNZWSME3OI3REDURP2XRANCNFSM5JZQP62Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Quoting myself here:
|
Some downstream projects may be vulnerable if they don't explicitly define what log4j version to use themselves, best to update log4j for any downstream projects that may still use LegacyLauncher.