{"id":"CVE-2021-39871","aliases":["BIT-gitlab-2021-39871","EUVD-2021-26228","GHSA-gf7j-5934-9pff","UBUNTU-CVE-2021-39871"],"status":"published","title":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable...","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0093,"percentile":0.61041,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2021-10-04T16:48:11Z","modified":"2026-10-30T10:30:46Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["14.1.7","14.2.5","14.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"13.0.0"},{"fixed":"14.1.7"},{"introduced":"14.2.0"},{"fixed":"14.2.5"},{"introduced":"14.3.0"},{"fixed":"14.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/340782","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/630263","tags":["x_refsource_MISC","x_transferred","Permissions Required","Third Party Advisory","advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39871.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39871","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gf7j-5934-9pff"},{"url":"https://ubuntu.com/security/CVE-2021-39871","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39871","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-39871","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2021-10-04T16:48:11Z","modified":"2024-08-04T02:20:33.665Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:09.175141Z"}],"euvd":[{"id":"EUVD-2021-26228","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2021-10-04T16:48:11Z","modified":"2024-08-04T02:20:33Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:24:22.263982Z"}],"ghsa":[{"id":"GHSA-gf7j-5934-9pff","title":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable...","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2022-05-24T19:16:28Z","modified":"2023-01-30T05:02:32Z","updated_at":"2026-11-02T14:46:39.888016Z"}],"nvd":[{"id":"CVE-2021-39871","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2021-10-04T17:15:07.907Z","modified":"2026-06-17T04:04:20.14Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:59.314106Z"}],"osv":[{"id":"CVE-2021-39871","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2021-10-04T17:15:07.907Z","modified":"2026-10-30T10:30:46.828761509Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"UBUNTU-CVE-2021-39871","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2021-10-04T17:15:00Z","modified":"2025-10-24T04:50:33Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"BIT-gitlab-2021-39871","description":"In all versions of GitLab CE/EE since version 13.0, an instance that has the setting to disable Bitbucket Server import enabled is bypassed by an attacker making a crafted API call.","status":"published","published":"2024-03-06T11:18:45.335Z","modified":"2026-09-08T08:47:37.799068644Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
