{"id":"GHSA-cr6p-23cf-w9g9","summary":"UnsafeAccessor 1.4.0 until 1.7.0 has no security checking for UnsafeAccess.getInstance()","details":"### Overview\n\nAffected versions have no limit to using unsafe-accessor. Can be ignored if `SecurityCheck.AccessLimiter` not setup\n\n### Details\n\nIf 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.\nMain application can setup `SecurityCheck.AccessLimiter` for UA to limit accesses to UA.\nUntrusted code can access UA without lmitation in affected versions even UA was loaded as a named module.\n\n### References\n\n[The commit to fix](https://github.com/Karlatemp/UnsafeAccessor/commit/4ef83000184e8f13239a1ea2847ee401d81585fd)\n\n","aliases":["CVE-2022-31139"],"modified":"2023-11-01T04:58:58.930921Z","published":"2022-07-12T22:15:53Z","database_specific":{"cwe_ids":["CWE-200","CWE-863"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-07-12T22:15:53Z","nvd_published_at":"2022-07-11T19:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/Karlatemp/UnsafeAccessor/security/advisories/GHSA-cr6p-23cf-w9g9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31139"},{"type":"WEB","url":"https://github.com/Karlatemp/UnsafeAccessor/commit/4ef83000184e8f13239a1ea2847ee401d81585fd"},{"type":"PACKAGE","url":"https://github.com/Karlatemp/UnsafeAccessor"},{"type":"WEB","url":"https://github.com/Karlatemp/UnsafeAccessor/releases/tag/1.7.0"}],"affected":[{"package":{"name":"io.github.karlatemp:unsafe-accessor","ecosystem":"Maven","purl":"pkg:maven/io.github.karlatemp/unsafe-accessor"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.7.0"}]}],"versions":["1.4.0","1.5.0","1.6.0","1.6.1","1.6.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-cr6p-23cf-w9g9/GHSA-cr6p-23cf-w9g9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}