# GHSA-3qpm-h9ch-px3c: Remote code injection, Improper Input Validation and Uncontrolled Recursion in Log4j library

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-01-06T18:31:23.000Z
- Modified: 2024-12-04T05:40:03.827Z
- Weaknesses: CWE-20, CWE-400, CWE-502

## Description

### Summary
The version used of Log4j, the library used for logging by PowerNukkit, is subject to a remote code execution vulnerability via the ldap JNDI parser.
It's well detailed at [CVE-2021-44228](https://github.com/advisories/GHSA-jfh8-c2jp-5v3q) and  CVE-2021-45105(https://github.com/advisories/GHSA-p6xc-xr62-6r2g).

### Impact
Malicious client code could be used to send messages and cause remote code execution on the server.

### Patches
PowerNukkit `1.5.2.1` is a patch-release that only updates the Log4j version to `2.17.0` and should be used instead of `1.5.2.0`.
All versions prior to `1.5.2.1` are affected and are not patched.

### Workarounds
If you can't upgrade, you can use the `-Dlog4j2.formatMsgNoLookups=true` startup argument as remediation, as this prevents the vulnerability from happening.

### References
https://github.com/advisories/GHSA-jfh8-c2jp-5v3q
https://github.com/advisories/GHSA-p6xc-xr62-6r2g

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [the PowerNukkit repository](https://github.com/PowerNukkit/PowerNukkit/issues)

(As written by GitHub Advisory Database.)

## Affected

- org.powernukkit:powernukkit (Maven): before 1.5.2.1

## References

- <https://github.com/PowerNukkit/PowerNukkit/security/advisories/GHSA-3qpm-h9ch-px3c> (web)
- <https://github.com/PowerNukkit/PowerNukkit> (package)

## Sources

- GitHub Advisory Database: [GHSA-3qpm-h9ch-px3c](https://github.com/advisories/GHSA-3qpm-h9ch-px3c), CC-BY-4.0, modified 2024-12-04

---

Page: https://cve.day/GHSA-3qpm-h9ch-px3c · Whole record: https://cve.day/GHSA-3qpm-h9ch-px3c.json · Rebuilt by cve.day 2026-11-25T22:56:26.598Z
