# CVE-2022-4641: pig-vector LogisticRegression.java LogisticRegression temp file

- Priority: **Routine**
- Reason: Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-21 · Modified: 2025-04-10
- Record: https://cvemate.com/vulnerability/CVE-2022-4641 · JSON: https://cvemate.com/vulnerability/CVE-2022-4641/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.241%, percentile 16.311%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- pig-vector\_project pig-vector: na
- unspecified pig-vector: n/a

## References

- <https://github.com/tdunning/pig-vector/pull/2>
- <https://github.com/tdunning/pig-vector/commit/1e7bd9fab5401a2df18d2eabd802adcf0dcf1f15>
- <https://vuldb.com/?id.216500>

---

Data as of 2026-12-05T04:04:52.791Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
