1. Home
  2. Vulnerabilities
  3. CVE-2022-31139

CVE-2022-31139

UnsafeAccessor (UA) is a bridge to access jdk.internal.misc.Unsafe & sun.misc.Unsafe. Normally, if UA is…

Published 11 Jul 2022 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 50/100

Summary

UnsafeAccessor (UA) is a bridge to access jdk.internal.misc.Unsafe & sun.misc.Unsafe. Normally, if UA is loaded as a named module, the internal data of UA is protected by JVM and others can only access UA via UA's standard API. The main application can set up `SecurityCheck.AccessLimiter` for UA to limit access to UA. Starting with version 1.4.0 and prior to version 1.7.0, when `SecurityCheck.AccessLimiter` is set up, untrusted code can access UA without limitation, even when UA is loaded as a named module. This issue does not affect those for whom `SecurityCheck.AccessLimiter` is not set up. Version 1.7.0 contains a patch.

Affected products and versions

Unsafe accessor project (1 line(s))
Unsafe accessor project
ProductVersionsFixed inSource
Unsafe accessor from 1.4.0 (included) to 1.7.0 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, NVD)
Weakness
CWE-863 · Authentification / contrôle d'accès

How this data is obtained and calculated