{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49287 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-49287 is a high-severity memory corruption vulnerability in cxong tinydir, published on 4 Dec 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-2023-49287 and fix it if it is affected.\n\nWhat it is: CVE-2023-49287 is a high-severity memory corruption vulnerability in cxong tinydir, published on 4 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49287 exists.\n\nAffected product: cxong tinydir. 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-2023-49287/ (Markdown: https://insights.sbomify.com/CVE-2023-49287/index.md)","id":"CVE-2023-49287","markdown":"https://insights.sbomify.com/CVE-2023-49287/index.md","name":"CVE-2023-49287","record":{"aliases":["DEBIAN-CVE-2023-49287","GHSA-jf5r-wgf4-qhxf","UBUNTU-CVE-2023-49287"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"C directory reader library","requires_auth":"none","summary":"Buffer overflows in tinydir's file open function allow attackers to execute arbitrary code or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tinydir","vendor":"cxong"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"TinyDir is a lightweight C directory and file reader. Buffer overflows in the `tinydir_file_open()` function. This vulnerability has been patched in version 1.2.6.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Buffer overflow vulnerabilities in tinydir","id":"CVE-2023-49287","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":5,"next":{"headline":"Denial of Service in HTTP Collapsed Forwarding in Squid","id":"CVE-2023-49288"},"packages":[],"prev":{"headline":"Denial of Service in Helper Process management","id":"CVE-2023-49286"},"products":["tinydir"],"published":"2023-12-04","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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-29","vendors":["cxong"]},"summary":"Buffer overflows in tinydir's file open function allow attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2023-49287/"}