CVE-2022-41956

Autolab is vulnerable to file disclosure via remote handin feature

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 file disclosure vulnerability was discovered in Autolab's remote handin feature, whereby users are able to hand-in assignments using paths outside their submission directory. Users can then view the submission to view the file's contents. The vulnerability has been patched in version 2.10.0. As a workaround, ensure that the field for the remote handin feature is empty (Edit Assessment > Advanced > Remote handin path), and that you are not running Autolab as `root` (or any user that has write access to `/`). Alternatively, disable the remote handin feature if it is unneeded by replacing the body of `local_submit` in `app/controllers/assessment/handin.rb` with `render(plain: "Feature disabled", status: :bad_request) && return`.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.25%
Third-Party Advisory github.com Third-Party Advisory stackhawk.com
Affected: autolab Autolab
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-41956?
CVE-2022-41956 has been scored as a medium severity vulnerability.
How to fix CVE-2022-41956?
To fix CVE-2022-41956, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-41956 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-41956 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-41956?
CVE-2022-41956 affects autolab Autolab.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.