{"answers":{"affected":"2 open source packages ship an affected version, including com.fasterxml.util:java-merge-sort. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24913 in the wild and no public exploit code.","fix":"Upgrade com.fasterxml.util:java-merge-sort to 1.1.0 or later.","what":"CVE-2022-24913 is a medium-severity vulnerability in com.fasterxml.util:java-merge-sort, published on 12 Jan 2023. 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-24913 and fix it if it is affected.\n\nWhat it is: CVE-2022-24913 is a medium-severity vulnerability in com.fasterxml.util:java-merge-sort, published on 12 Jan 2023. 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-24913 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.fasterxml.util:java-merge-sort (Maven): affected all versions; fixed in 1.1.0\n- com.fasterxml.util:java-merge-sort (Maven): affected all versions; fixed in 1.1.0\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-24913/ (Markdown: https://insights.sbomify.com/CVE-2022-24913/index.md)","id":"CVE-2022-24913","markdown":"https://insights.sbomify.com/CVE-2022-24913/index.md","name":"CVE-2022-24913","record":{"aliases":["GHSA-qxxc-7mq4-mf79"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java merge sort library","requires_auth":"low_privilege","summary":"An attacker can read temporary file contents due to insecure file creation in the java-merge-sort library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"java-merge-sort","vendor":"java-merge-sort_project"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"description":"Versions of the package com.fasterxml.util:java-merge-sort before 1.1.0 are vulnerable to Insecure Temporary File in the StdTempFileProvider() function in StdTempFileProvider.java, which uses the permissive File.createTempFile() function, exposing temporary file contents.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Java Merge-sort Insecure Temporary File vulnerability","id":"CVE-2022-24913","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":2,"n_references":3,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2022-24914"},"packages":[{"ecosystem":"Maven","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"com.fasterxml.util:java-merge-sort","purl":null,"source":"GHSA-qxxc-7mq4-mf79"},{"ecosystem":"Maven","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"com.fasterxml.util:java-merge-sort","purl":"pkg:maven/com.fasterxml.util/java-merge-sort","source":"GHSA-qxxc-7mq4-mf79"}],"prev":{"headline":"Timing Attack","id":"CVE-2022-24912"},"products":["com.fasterxml.util:java-merge-sort"],"published":"2023-01-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-08","vendors":["n/a"]},"summary":"An attacker can read temporary file contents due to insecure file creation in the java-merge-sort library.","url":"https://insights.sbomify.com/CVE-2022-24913/"}