{"answers":{"affected":"2 open source packages ship an affected version, including kevinpapst/kimai2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43515 in the wild and no public exploit code.","fix":"Upgrade kevinpapst/kimai2 to 1.14.1 or later.","what":"CVE-2021-43515 is a high-severity vulnerability in n/a, published on 8 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-43515 and fix it if it is affected.\n\nWhat it is: CVE-2021-43515 is a high-severity vulnerability in n/a, published on 8 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-43515 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kevinpapst/kimai2 (Packagist): affected all versions; fixed in 1.14.1\n- kevinpapst/kimai2 (Packagist): affected all versions; fixed in 1.14.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-2021-43515/ (Markdown: https://insights.sbomify.com/CVE-2021-43515/index.md)","id":"CVE-2021-43515","markdown":"https://insights.sbomify.com/CVE-2021-43515/index.md","name":"CVE-2021-43515","record":{"aliases":["GHSA-64fq-9c6w-rq44"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kimai time tracking","requires_auth":"none","summary":"Attackers can execute arbitrary code on victims' machines by injecting malicious formulas into the timesheet description field, which triggers when the data is exported to CSV.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"kimai","vendor":"kimai"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1236","name":"Improper Neutralization of Formula Elements in a CSV File"}],"description":"CSV Injection (aka Excel Macro Injection or Formula Injection) exists in creating new timesheet in Kimai. By filling the Description field with malicious payload, it will be mistreated while exporting to a CSV file.","ecosystems":["Packagist"],"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":"Improper Neutralization of Formula Elements in a CSV File in Kimai 2","id":"CVE-2021-43515","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"other","year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"FOSCAM Camera FI9805E with firmware V4.02.R12.00018510.10012.143900.00000 contains a backdoor that opens Telnet port when special command is sent on port 9530.","id":"CVE-2021-43517"},"packages":[{"ecosystem":"Packagist","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"kevinpapst/kimai2","purl":null,"source":"GHSA-64fq-9c6w-rq44"},{"ecosystem":"Packagist","fixed":["1.14.1"],"introduced":["0"],"last_affected":[],"package":"kevinpapst/kimai2","purl":"pkg:composer/kevinpapst/kimai2","source":"GHSA-64fq-9c6w-rq44"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2021-43512"},"products":["n/a"],"published":"2022-04-08","related":[{"cvss_score":9.6,"headline":"Cross-site Scripting in kimai/kimai","id":"CVE-2020-19825","kev_date_added":null,"published":"2023-02-15"},{"cvss_score":8.5,"headline":"Kimai 1.30.10 SameSite Cookie Vulnerability Session Hijacking","id":"CVE-2023-53957","kev_date_added":null,"published":"2025-12-19"},{"cvss_score":7.2,"headline":"Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File","id":"CVE-2023-46245","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":6.8,"headline":"Kimai Vulnerable to Authenticated Server-Side Template Injection (SSTI)","id":"CVE-2026-23626","kev_date_added":null,"published":"2026-01-18"},{"cvss_score":6.8,"headline":"API returns timesheet entries a user should not be authorized to view","id":"CVE-2024-29200","kev_date_added":null,"published":"2024-03-28"},{"cvss_score":6.5,"headline":"Kimai: API invoice endpoint missing customer-level access control (IDOR)","id":"CVE-2026-28685","kev_date_added":null,"published":"2026-03-06"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code on victims' machines by injecting malicious formulas into the timesheet description field, which triggers when the data is exported to CSV.","url":"https://insights.sbomify.com/CVE-2021-43515/"}