{"api_version":"1","generated_at":"2026-07-23T12:13:11+00:00","cve":"CVE-2022-41956","urls":{"html":"https://cve.report/CVE-2022-41956","api":"https://cve.report/api/cve/CVE-2022-41956.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-41956","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-41956"},"summary":{"title":"CVE-2022-41956","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`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-01-14 01:15:00","updated_at":"2023-12-11 19:15:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://www.stackhawk.com/blog/rails-path-traversal-guide-examples-and-prevention/","name":"https://www.stackhawk.com/blog/rails-path-traversal-guide-examples-and-prevention/","refsource":"MISC","tags":[],"title":"Rails Path Traversal Guide: Examples and Prevention","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/","name":"https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/","refsource":"","tags":[],"title":"GHSL-2022-100: Path traversal vulnerability and remote code execution (RCE) vulnerability in Autolab - CVE-2022-41955,CVE-2022-41956 | GitHub Security Lab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/autolab/Autolab/security/advisories/GHSA-g7x7-mgrv-f24x","name":"https://github.com/autolab/Autolab/security/advisories/GHSA-g7x7-mgrv-f24x","refsource":"MISC","tags":[],"title":"File disclosure via remote handin feature · Advisory · autolab/Autolab · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-41956","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41956","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"41956","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"autolabproject","cpe5":"autolab","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-41956","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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`."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"autolab","product":{"product_data":[{"product_name":"Autolab","version":{"version_data":[{"version_value":"<= 2.9.0","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/autolab/Autolab/security/advisories/GHSA-g7x7-mgrv-f24x","refsource":"MISC","name":"https://github.com/autolab/Autolab/security/advisories/GHSA-g7x7-mgrv-f24x"},{"url":"https://www.stackhawk.com/blog/rails-path-traversal-guide-examples-and-prevention/","refsource":"MISC","name":"https://www.stackhawk.com/blog/rails-path-traversal-guide-examples-and-prevention/"}]},"source":{"advisory":"GHSA-g7x7-mgrv-f24x","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-01-14 01:15:00","lastModifiedDate":"2023-12-11 19:15:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:autolabproject:autolab:*:*:*:*:*:*:*:*","versionEndExcluding":"2.10.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}