{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-10040 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2015-10040 yet. Limit exposure of the affected software until one is available.","what":"CVE-2015-10040 is a medium-severity code injection vulnerability in gitlearn, published on 13 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-10040 and fix it if it is affected.\n\nWhat it is: CVE-2015-10040 is a medium-severity code injection vulnerability in gitlearn, published on 13 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2015-10040 in the wild and no public exploit code.\n\nAffected product: gitlearn. 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-2015-10040/ (Markdown: https://insights.sbomify.com/CVE-2015-10040/index.md)","id":"CVE-2015-10040","markdown":"https://insights.sbomify.com/CVE-2015-10040/index.md","name":"CVE-2015-10040","record":{"aliases":["GHSA-6x6q-ghqw-xcmg"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"gitlearn library","requires_auth":"low_privilege","summary":"Remote attackers can inject code via escape sequences in gitlearn's config.sh, potentially executing arbitrary commands.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"gitlearn","vendor":"gitlearn_project"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"A vulnerability was found in gitlearn. It has been declared as problematic. This vulnerability affects the function getGrade/getOutOf of the file scripts/config.sh of the component Escape Sequence Handler. The manipulation leads to injection. The attack can be initiated remotely. The patch is identified as 3faa5deaa509012069afe75cd03c21bda5050a64. It is recommended to apply a patch to fix this issue. VDB-218302 is the identifier assigned to this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"gitlearn Escape Sequence config.sh getOutOf injection","id":"CVE-2015-10040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2015"},"n_packages":0,"n_references":4,"next":{"headline":"Dovgalyuk AIBattle procedures.php sendComments sql injection","id":"CVE-2015-10041"},"packages":[],"prev":{"headline":"dobos domino EntityFactory.cs sql injection","id":"CVE-2015-10039"},"products":["gitlearn"],"published":"2023-01-13","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":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can inject code via escape sequences in gitlearn's config.sh, potentially executing arbitrary commands.","url":"https://insights.sbomify.com/CVE-2015-10040/"}