{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-42798 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-42798 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-42798 is a high-severity vulnerability in ChewKeanHo AutomataCI, published on 22 Sep 2023. 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-2023-42798 and fix it if it is affected.\n\nWhat it is: CVE-2023-42798 is a high-severity vulnerability in ChewKeanHo AutomataCI, published on 22 Sep 2023. 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-2023-42798 in the wild and no public exploit code.\n\nAffected product: ChewKeanHo AutomataCI. 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-42798/ (Markdown: https://insights.sbomify.com/CVE-2023-42798/index.md)","id":"CVE-2023-42798","markdown":"https://insights.sbomify.com/CVE-2023-42798/index.md","name":"CVE-2023-42798","record":{"aliases":["GHSA-6q23-vhhg-8h89"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CI automation tool","requires_auth":"none","summary":"A flaw in AutomataCI allows a release job to revert the repository to its first commit, causing data loss or modification.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"automataci","vendor":"hollowaykeanho"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"AutomataCI is a template git repository equipped with a native built-in semi-autonomous CI tools. An issue in versions 1.4.1 and below can let a release job reset the git root repository to the first commit. Version 1.5.0 has a patch for this issue. As a workaround, make sure the `PROJECT_PATH_RELEASE` (e.g. `releases/`) directory is manually and actually `git cloned` properly, making it a different git repostiory from the root git repository.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"AutomataCI Release Job Can Revert Repo to First Commit","id":"CVE-2023-42798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"business_logic","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`","id":"CVE-2023-42799"},"packages":[],"prev":{"headline":"Command injection in CP-8031 MASTER MODULE","id":"CVE-2023-42797"},"products":["AutomataCI"],"published":"2023-09-22","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-09-24","vendors":["ChewKeanHo"]},"summary":"A flaw in AutomataCI allows a release job to revert the repository to its first commit, causing data loss or modification.","url":"https://insights.sbomify.com/CVE-2023-42798/"}