{"answers":{"affected":"2 open source packages ship an affected version, including junit:junit. It affects 4 products.","exploited":"There is no known exploitation of CVE-2020-15250 in the wild and no public exploit code.","fix":"Upgrade junit:junit to 4.13.1 or later.","what":"CVE-2020-15250 is a medium-severity vulnerability in Debian Debian Linux, published on 12 Oct 2020."},"fix_prompt":"Check this codebase for CVE-2020-15250 and fix it if it is affected.\n\nWhat it is: CVE-2020-15250 is a medium-severity vulnerability in Debian Debian Linux, published on 12 Oct 2020. \nExploitation: There is no known exploitation of CVE-2020-15250 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- junit:junit (Maven): affected from 4.7; fixed in 4.13.1\n- junit:junit (Maven): affected from 4.7; fixed in 4.13.1\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-2020-15250/ (Markdown: https://insights.sbomify.com/CVE-2020-15250/index.md)","id":"CVE-2020-15250","markdown":"https://insights.sbomify.com/CVE-2020-15250/index.md","name":"CVE-2020-15250","record":{"aliases":["AZL-41745","CLEANSTART-2025-SF33121","CLSA-2026-1779151613","CLSA-2026-1792655995","DEBIAN-CVE-2020-15250","DLA-2426-1","GHSA-269g-pwp5-87pp","MGASA-2020-0403","OESA-2021-1053","RHLW-2026-8de53cade32781fb","RHLW-2026-aabbc2804b02664a","UBUNTU-CVE-2020-15250","USN-4731-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"pluto","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"junit4","vendor":"junit"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"In JUnit4 from version 4.7 and before 4.13.1, the test rule TemporaryFolder contains a local information disclosure vulnerability. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system. This vulnerability does not allow other users to overwrite the contents of these directories or files. This is purely an information disclosure vulnerability. This vulnerability impacts you if the JUnit tests write sensitive information, like API keys or passwords, into the temporary folder, and the JUnit tests execute in an environment where the OS has other untrusted users. Because certain JDK file system APIs were only added in JDK 1.7, this this fix is dependent upon the version of the JDK you are using. For Java 1.7 and higher users: this vulnerability is fixed in 4.13.1. For Java 1.6 and lower users: no patch is available, you must use the workaround below. If you are unable to patch, or are stuck running on Java 1.6, specifying the `java.io.tmpdir` system environment variable to a directory that is exclusively owned by the executing user will fix this vulnerability. For more information, including an example of vulnerable code, see the referenced GitHub Security Advisory.","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":"Information disclosure in JUnit4","id":"CVE-2020-15250","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux","oracle:communications_cloud_native_core_policy"],"type":null,"year":"2020"},"n_packages":2,"n_references":39,"next":{"headline":"Privilege Escalation in Channelmgnt plug-in for Sopel","id":"CVE-2020-15251"},"packages":[{"ecosystem":"Maven","fixed":["4.13.1"],"introduced":["4.7"],"last_affected":[],"package":"junit:junit","purl":null,"source":"GHSA-269g-pwp5-87pp"},{"ecosystem":"Maven","fixed":["4.13.1"],"introduced":["4.7"],"last_affected":[],"package":"junit:junit","purl":"pkg:maven/junit/junit","source":"GHSA-269g-pwp5-87pp"}],"prev":{"headline":"Stored XSS by authenticated backend user with access to upload files","id":"CVE-2020-15249"},"products":["junit4"],"published":"2020-10-12","related":[{"cvss_score":7.5,"headline":"Exposure of Sensitive Information in Apache Pluto","id":"CVE-2018-1306","kev_date_added":null,"published":"2018-06-27"},{"cvss_score":6.1,"headline":"XSS in V3 Demo Portlet","id":"CVE-2021-36737","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":6.1,"headline":"XSS vulnerability in the JSP version of the Apache Pluto Applicant MVCBean CDI portlet","id":"CVE-2021-36738","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":6.1,"headline":"XSS vulnerability in the MVCBean JSP portlet maven archetype","id":"CVE-2021-36739","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":6.1,"headline":"Cross-site Scripting in Apache Pluto Chatroom demo","id":"CVE-2019-0186","kev_date_added":null,"published":"2019-04-26"}],"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":"2026-10-07","vendors":["junit-team"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2020-15250/"}