{"id":"CVE-2022-4641","details":"A vulnerability was found in pig-vector and classified as problematic. Affected by this issue is the function LogisticRegression of the file src/main/java/org/apache/mahout/pig/LogisticRegression.java. The manipulation leads to insecure temporary file. The attack needs to be approached locally. The name of the patch is 1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-216500.","modified":"2026-04-11T23:22:42.073768Z","published":"2022-12-21T22:15:08.823Z","references":[{"type":"ADVISORY","url":"https://vuldb.com/?id.216500"},{"type":"FIX","url":"https://github.com/tdunning/pig-vector/commit/1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15"},{"type":"FIX","url":"https://github.com/tdunning/pig-vector/pull/2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tdunning/pig-vector","events":[{"introduced":"0"},{"fixed":"1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15"}]},{"type":"GIT","repo":"https://github.com/tdunning/pig-vector","events":[{"introduced":"0"},{"fixed":"1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15"}]}],"database_specific":{"vanir_signatures_modified":"2026-04-11T23:22:42Z","vanir_signatures":[{"signature_version":"v1","signature_type":"Line","id":"CVE-2022-4641-13d26dc7","digest":{"line_hashes":["143515481571297682682681524831275971526","155947191244229953898806677281413142802","182759958644615006336757410825902988759","175427448184348757275367984427481073308","234110595223429843417222419283983057909","63349636232109475791067692646332863949","111718293142404984776980339381330187792","226261748934492241956835098037322120895"],"threshold":0.9},"deprecated":false,"target":{"file":"src/main/java/org/apache/mahout/pig/LogisticRegression.java"},"source":"https://github.com/tdunning/pig-vector/commit/1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15"},{"signature_version":"v1","signature_type":"Function","id":"CVE-2022-4641-f72b1e40","digest":{"function_hash":"75106117018471472171713404665448851583","length":2774},"deprecated":false,"target":{"file":"src/main/java/org/apache/mahout/pig/LogisticRegression.java","function":"LogisticRegression"},"source":"https://github.com/tdunning/pig-vector/commit/1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4641.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}