{"answers":{"affected":"4 open source packages ship an affected version, including easybuild-framework and easybuild. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-5262 in the wild and no public exploit code.","fix":"Upgrade easybuild-framework to 4.1.2 or later.","what":"CVE-2020-5262 is a high-severity vulnerability in easybuilders easybuild-framework, published on 19 Mar 2020. 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-2020-5262 and fix it if it is affected.\n\nWhat it is: CVE-2020-5262 is a high-severity vulnerability in easybuilders easybuild-framework, published on 19 Mar 2020. 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-2020-5262 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- easybuild-framework (PyPI): affected all versions; fixed in 4.1.2\n- easybuild-framework (PyPI): affected all versions; fixed in 4.1.2\n- easybuild-framework (PyPI): affected all versions; fixed in 4.1.2\n- easybuild (PyPI): affected all versions; fixed in 4.1.2\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-5262/ (Markdown: https://insights.sbomify.com/CVE-2020-5262/index.md)","id":"CVE-2020-5262","markdown":"https://insights.sbomify.com/CVE-2020-5262/index.md","name":"CVE-2020-5262","record":{"aliases":["GHSA-2wx6-wc87-rmjm","PYSEC-2020-268","PYSEC-2020-41"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"EasyBuild framework","requires_auth":"none","summary":"Attackers with access to debug logs can read GitHub Personal Access Tokens, potentially compromising user accounts.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"easybuild","vendor":"easybuild_project"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-922","name":"Insecure Storage of Sensitive Information"},{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"In EasyBuild before version 4.1.2, the GitHub Personal Access Token (PAT) used by EasyBuild for the GitHub integration features (like `--new-pr`, `--fro,-pr`, etc.) is shown in plain text in EasyBuild debug log files. This issue is fixed in EasyBuild v4.1.2, and in the `master`+ `develop` branches of the `easybuild-framework` repository.","ecosystems":["PyPI"],"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":"GitHub personal access token leaking into temporary EasyBuild (debug) logs","id":"CVE-2020-5262","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":4,"n_references":3,"next":{"headline":"Information disclosure through error object","id":"CVE-2020-5263"},"packages":[{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"easybuild","purl":"pkg:pypi/easybuild","source":"PYSEC-2020-268"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"easybuild-framework","purl":null,"source":"GHSA-2wx6-wc87-rmjm"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"easybuild-framework","purl":"pkg:pypi/easybuild-framework","source":"GHSA-2wx6-wc87-rmjm"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["0"],"last_affected":[],"package":"easybuild-framework","purl":"pkg:pypi/easybuild-framework","source":"PYSEC-2020-41"}],"prev":{"headline":"Missing Token Replay Detection","id":"CVE-2020-5261"},"products":["easybuild-framework"],"published":"2020-03-19","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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["easybuilders"]},"summary":"Attackers with access to debug logs can read GitHub Personal Access Tokens, potentially compromising user accounts.","url":"https://insights.sbomify.com/CVE-2020-5262/"}