{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4641 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-4641 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4641 is a low-severity vulnerability in unspecified pig-vector, published on 21 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-4641 and fix it if it is affected.\n\nWhat it is: CVE-2022-4641 is a low-severity vulnerability in unspecified pig-vector, published on 21 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-4641 in the wild and no public exploit code.\n\nAffected product: unspecified pig-vector. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-4641/ (Markdown: https://insights.sbomify.com/CVE-2022-4641/index.md)","id":"CVE-2022-4641","markdown":"https://insights.sbomify.com/CVE-2022-4641/index.md","name":"CVE-2022-4641","record":{"aliases":["GHSA-m5j9-qjxx-93w2"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java machine learning library","requires_auth":"low_privilege","summary":"Local attackers can exploit insecure temporary file handling in LogisticRegression to read or modify data.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"pig-vector","vendor":"pig-vector_project"}],"cvss":{"score":2.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"pig-vector LogisticRegression.java LogisticRegression temp file","id":"CVE-2022-4641","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"tatoeba2 Profile Name cross site scripting","id":"CVE-2022-4642"},"packages":[],"prev":{"headline":"Mingsoft MCMS Article save cross site scripting","id":"CVE-2022-4640"},"products":["pig-vector"],"published":"2022-12-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-10","vendors":["unspecified"]},"summary":"Local attackers can exploit insecure temporary file handling in LogisticRegression to read or modify data.","url":"https://insights.sbomify.com/CVE-2022-4641/"}