CVE-2022-41956

Source
https://cve.org/CVERecord?id=CVE-2022-41956
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-41956.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-41956
Aliases
  • GHSA-g7x7-mgrv-f24x
Published
2023-01-14T00:40:32.121Z
Modified
2025-11-28T05:01:41.703636Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Autolab is vulnerable to file disclosure via remote handin feature
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41956.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/autolab/autolab

Affected ranges

Type
GIT
Repo
https://github.com/autolab/autolab
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*
2.0.4
2.0.8
2.1.0
2.2.0
2.2.1
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.1.0
v1.1.1
v1.2.0
v1.3.0
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v2.*
v2.0.2
v2.0.3
v2.0.5
v2.0.6
v2.0.7
v2.0.8
v2.2.0
v2.2.1
v2.3.0
v2.4.0
v2.6.0
v2.7.0
v2.8.0
v2.9.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-41956.json"