Live threats

All CVEs / Unsafe Accessor Project

CVE-2022-31139Unsafe Accessor Project Unsafe Accessor

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Jul 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Unsafe Accessor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.github.karlatemp:unsafe-accessor ≥ 1.4.0 < 1.7.0 1.7.0 —

Per OSV / GitHub Advisories (GHSA-cr6p-23cf-w9g9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
unsafe_accessor_projectunsafe_accessor≥ 1.4.0 < 1.7.0

Official sources

References

Links published by the sources. Open them with care.