GHSA-3qpm-h9ch-px3c

Suggest an improvement
Source
https://github.com/advisories/GHSA-3qpm-h9ch-px3c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-3qpm-h9ch-px3c/GHSA-3qpm-h9ch-px3c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-3qpm-h9ch-px3c
Published
2022-01-06T18:31:23Z
Modified
2024-12-04T05:26:41.079464Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Remote code injection, Improper Input Validation and Uncontrolled Recursion in Log4j library
Details

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 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

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-20",
        "CWE-400",
        "CWE-502"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-04T22:06:05Z"
}
References

Affected packages

Maven / org.powernukkit:powernukkit

Package

Name
org.powernukkit:powernukkit
View open source insights on deps.dev
Purl
pkg:maven/org.powernukkit/powernukkit

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.2.1

Affected versions

1.*

1.1.1.0-PN
1.1.1.1-PN
1.2.0.0-PN
1.2.0.2-PN
1.2.1.0-PN
1.3.0.1-PN
1.3.1.1-PN
1.3.1.2-PN
1.3.1.3-PN
1.3.1.4-PN
1.3.1.5-PN
1.3.2.0-PN-ALPHA.2
1.3.2.0-PN-ALPHA.3
1.4.0.0-PN-ALPHA.1
1.4.0.0-PN-ALPHA.2
1.4.0.0-PN
1.5.0.0-PN
1.5.1.0-PN
1.5.2.0-PN

Database specific

{
    "last_known_affected_version_range": "<= 1.5.2.0"
}