CVE-2022-31139 – io.github.karlatemp:unsafe-accessor
Package
Manager: maven
Name: io.github.karlatemp:unsafe-accessor
Vulnerable Version: >=1.4.0 <1.7.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00324 pctl0.54778
Details
UnsafeAccessor 1.4.0 until 1.7.0 has no security checking for UnsafeAccess.getInstance() ### 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](https://github.com/Karlatemp/UnsafeAccessor/commit/4ef83000184e8f13239a1ea2847ee401d81585fd)
Metadata
Created: 2022-07-12T22:15:53Z
Modified: 2022-07-21T14:59:11Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-cr6p-23cf-w9g9/GHSA-cr6p-23cf-w9g9.json
CWE IDs: ["CWE-200", "CWE-863"]
Alternative ID: GHSA-cr6p-23cf-w9g9
Finding: F310
Auto approve: 1