{"id":"CVE-2023-42798","summary":"AutomataCI Release Job Can Revert Repo to First Commit","details":"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.","aliases":["GHSA-6q23-vhhg-8h89"],"modified":"2026-04-02T09:23:00.533756Z","published":"2023-09-22T15:13:48.283Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42798.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-20"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42798.json"},{"type":"ADVISORY","url":"https://github.com/ChewKeanHo/AutomataCI/security/advisories/GHSA-6q23-vhhg-8h89"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42798"},{"type":"REPORT","url":"https://github.com/ChewKeanHo/AutomataCI/issues/93"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/chewkeanho/automataci","events":[{"introduced":"0"},{"fixed":"4af93b14ed209a0f15efe7c84593f57252bd8818"}]}],"versions":["v1.3.0","v1.3.1","v1.4.0","v1.4.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42798.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H"}]}