CVE-2022-31139
July 11, 2022
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 Packages
io.github.karlatemp:unsafe-accessor (JAVA):
Affected version(s) >=1.4.0 <1.7.0Fix Suggestion:
Update to version 1.7.0Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
CVSS v2
Base Score:
4.3
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.34