{"id":"CVE-2022-3969","summary":"OpenKM FileUtils.java getFileExtension temp file","details":"A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Affected by this issue is the function getFileExtension of the file src/main/java/com/openkm/util/FileUtils.java. The manipulation leads to insecure temporary file. Upgrading to version 6.3.12 is able to address this issue. The name of the patch is c069e4d73ab8864345c25119d8459495f45453e1. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-213548.","modified":"2026-10-28T10:27:56.577070263Z","published":"2022-11-13T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3969.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"6.3.0"},{"last_affected":"6.3.0"},{"introduced":"6.3.1"},{"last_affected":"6.3.1"},{"introduced":"6.3.2"},{"last_affected":"6.3.2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}],"cna_assigner":"VulDB","cwe_ids":["CWE-377"]},"references":[{"type":"WEB","url":"https://github.com/openkm/document-management-system/releases/tag/v6.3.12"},{"type":"WEB","url":"https://vuldb.com/?id.213548"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3969.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3969"},{"type":"FIX","url":"https://github.com/openkm/document-management-system/commit/c069e4d73ab8864345c25119d8459495f45453e1"},{"type":"FIX","url":"https://github.com/openkm/document-management-system/pull/332"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openkm/document-management-system","events":[{"introduced":"90da46d33f5b8df96028d3b5d07013c646f4d232"},{"fixed":"a3587ce56ae375fc45e706bf07dcd116a6295195"},{"fixed":"c069e4d73ab8864345c25119d8459495f45453e1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"6.3.3"},{"last_affected":"6.3.3"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"6.3.4"},{"last_affected":"6.3.4"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"6.3.5"},{"last_affected":"6.3.5"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"6.3.6"},{"last_affected":"6.3.6"}]},{"range":[{"introduced":"6.3.7"},{"last_affected":"6.3.7"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"6.3.8"},{"last_affected":"6.3.8"}]},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"6.3.9"},{"last_affected":"6.3.9"}]},{"range":[{"introduced":"6.3.10"},{"last_affected":"6.3.10"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"6.3.11"},{"last_affected":"6.3.11"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"a3587ce56ae375fc45e706bf07dcd116a6295195"}],"source":"REFERENCES_TAG","original_tag":"v6.3.12"},{"range":[{"fixed":"c069e4d73ab8864345c25119d8459495f45453e1"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["6.3.10","6.3.11","6.3.3","6.3.4","6.3.5","6.3.6","6.3.7","6.3.8","6.3.9","v6.3.11","v6.3.10","none","v6.3.9","v6.3.8","v6.3.7","v6.3.6","v6.3.5","v6.3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3969.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["279413520036040289929526884921157782213","23103166573637402105758137409248491570","249502593786046209136475947441987517853","293642576117893215070688956822656310185","158108558192831128767627719259901653312","337033476667577695632142856906940691068","173249830343889171489419641091045847398","175939740876800026021749528342360622182","329013119084107516163770180969980414733","135839113255969604848382403938790427815","85691092798568322121108639212783870715","15969756416170115102042348059527762222","283424242086747089903914148388559211403","252904200011392946188100432175983408304","190868268129256661891854608030830122291","157368533298652304495648376438245729105"],"threshold":0.9},"id":"CVE-2022-3969-8f3c18e1","signature_type":"Line","signature_version":"v1","source":"https://github.com/openkm/document-management-system/commit/c069e4d73ab8864345c25119d8459495f45453e1","target":{"file":"src/main/java/com/openkm/util/FileUtils.java"}},{"signature_version":"v1","source":"https://github.com/openkm/document-management-system/commit/c069e4d73ab8864345c25119d8459495f45453e1","target":{"file":"src/main/java/com/openkm/util/FileUtils.java","function":"createTempDir"},"deprecated":false,"digest":{"function_hash":"220148249473297705930632360076230951130","length":205},"id":"CVE-2022-3969-ae70ca9d","signature_type":"Function"}],"vanir_signatures_modified":"2026-10-28T10:27:56Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}