ADVISORIES

GitHub Advisory Database

GHSA-cr6p-23cf-w9g9

UnsafeAccessor 1.4.0 until 1.7.0 has no security checking for UnsafeAccess.getInstance()

Moderate CVE-2022-31139

Details

Overview

Affected versions have no limit to using unsafe-accessor. Can be ignored if SecurityCheck.AccessLimiter not setup

Details

If UA was loaded as a named module, the internal data of UA will be protected by JVM and others can only access UA via UA's standard api. Main application can setup SecurityCheck.AccessLimiter for UA to limit accesses to UA. Untrusted code can access UA without lmitation in affected versions even UA was loaded as a named module.

References

The commit to fix

Affected packages

EcosystemPackageAffected versions
Mavenio.github.karlatemp:unsafe-accessor
From 1.4.0 before 1.7.0 (fixed in 1.7.0)

References