{"answers":{"affected":"1 open source package ship an affected version, including gitlab. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-10977 exists.","fix":"Upgrade gitlab to 12.9.1 or later.","what":"CVE-2020-10977 is a medium-severity path traversal vulnerability in Gitlab Gitlab, published on 8 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10977 and fix it if it is affected.\n\nWhat it is: CVE-2020-10977 is a medium-severity path traversal vulnerability in Gitlab Gitlab, published on 8 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-10977 exists.\n\nAffected packages and fixed versions:\n- gitlab (Bitnami): affected from 8.5.0; fixed in 12.9.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-10977/ (Markdown: https://insights.sbomify.com/CVE-2020-10977/index.md)","id":"CVE-2020-10977","markdown":"https://insights.sbomify.com/CVE-2020-10977/index.md","name":"CVE-2020-10977","record":{"aliases":["BIT-gitlab-2020-10977","GHSA-9cwr-gv28-fqcw","UBUNTU-CVE-2020-10977"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GitLab","requires_auth":"low_privilege","summary":"Attackers can exploit a path traversal vulnerability in GitLab when moving issues between projects to access or modify unauthorized files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gitlab","vendor":"gitlab"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"GitLab EE/CE 8.5 to 12.9 is vulnerable to a an path traversal when moving an issue between projects.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2020-03-26","github_poc":8,"max_poc_stars":69,"metasploit":1,"nuclei":0,"refs":[{"date":"2020-11-20T15:40:03Z","kind":"github_poc","ref":"https://github.com/thewhiteh4t/cve-2020-10977","stars":69,"title":"GitLab 12.9.0 Arbitrary File Read "},{"date":"2020-05-02T10:03:31Z","kind":"github_poc","ref":"https://github.com/KooroshRZ/CVE-2020-10977","stars":4,"title":"Exploit for \"GitLab Instance\" Arbitrary server file read vulnerability"},{"date":"2021-03-07T07:26:38Z","kind":"github_poc","ref":"https://github.com/liath/CVE-2020-10977","stars":2,"title":"Gitlab v12.4.0-8.1 RCE"},{"date":"2021-05-02T08:45:03Z","kind":"github_poc","ref":"https://github.com/vandycknick/gitlab-cve-2020-10977","stars":2,"title":"GitLab Arbitrary File Read Exploit"},{"date":"2021-04-11T06:31:06Z","kind":"github_poc","ref":"https://github.com/lisp3r/cve-2020-10977-read-and-execute","stars":1,"title":"cve-2020-10977 read and execute"},{"date":"2020-03-26","kind":"metasploit","ref":"exploit/multi/http/gitlab_file_read_rce","stars":null,"title":"GitLab File Read Remote Code Execution"},{"date":"2020-11-25T22:48:26Z","kind":"github_poc","ref":"https://github.com/JustMichi/CVE-2020-10977.py","stars":0,"title":"authenticated arbitrary file read for Gitlab (CVE-2020-10977)"},{"date":"2021-01-29T16:17:10Z","kind":"github_poc","ref":"https://github.com/erk3/gitlab-12.9.0-file-read","stars":0,"title":"A (wanted to be) better script than what can be found on exploit-db about the authenticated arbitrary read file on GitLab v12.9.0 (CVE-2020-10977)"}],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2020-10977","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"gitlab:gitlab","products":["gitlab:gitlab"],"type":"path_traversal","year":"2020"},"n_packages":1,"n_references":3,"next":{"headline":"Information disclosure in n/a","id":"CVE-2020-10978"},"packages":[{"ecosystem":"Bitnami","fixed":["12.9.1"],"introduced":["8.5.0"],"last_affected":[],"package":"gitlab","purl":"pkg:bitnami/gitlab","source":"BIT-gitlab-2020-10977"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2020-10976"},"products":["n/a"],"published":"2020-04-08","related":[{"cvss_score":10,"headline":"GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound","id":"CVE-2026-97229","kev_date_added":"2026-10-29","published":"2026-10-13"},{"cvss_score":10,"headline":"GitLab Community Edition and Enterprise Edition Path Traversal","id":"CVE-2026-85706","kev_date_added":"2026-09-11","published":"2026-09-12"},{"cvss_score":10,"headline":"GitLab Community and Enterprise Editions Improper Access Control","id":"CVE-2023-7028","kev_date_added":"2024-05-01","published":"2024-01-12"},{"cvss_score":10,"headline":"GitLab Community and Enterprise Editions Remote Code Execution","id":"CVE-2021-22205","kev_date_added":"2021-11-03","published":"2021-04-23"},{"cvss_score":6.8,"headline":"GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)","id":"CVE-2021-39935","kev_date_added":"2026-02-03","published":"2021-12-13"},{"cvss_score":6.8,"headline":"GitLab Server-Side Request Forgery (SSRF)","id":"CVE-2021-22175","kev_date_added":"2026-02-18","published":"2021-06-11"},{"cvss_score":10,"headline":"Integer Overflow or Wraparound in GitLab","id":"CVE-2026-110264","kev_date_added":null,"published":"2026-10-22"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can exploit a path traversal vulnerability in GitLab when moving issues between projects to access or modify unauthorized files.","url":"https://insights.sbomify.com/CVE-2020-10977/"}