9.8critical
There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center.
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 98.0% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- atlassian
Description
There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Atlassian Bitbucket Data Center | before 7.17.12, before 7.21.6, before 7.6.19, before 8.0.5, before 8.1.5, before 8.2.4, before 8.3.3, before 8.4.2 and 1 more Not affected: before 7.0 | CVE List |
| Atlassian Bitbucket Server | before 7.17.12, before 7.21.6, before 7.6.19, before 8.0.5, before 8.1.5, before 8.2.4, before 8.3.3, before 8.4.2 and 1 more Not affected: before 7.0 | CVE List |
| atlassian bitbucket | from 7.0.0 before 7.6.19, from 7.7.0 before 7.17.12, from 7.18.0 before 7.21.6, from 7.22.0 before 8.0.5, from 8.1.0 before 8.1.5, from 8.2.0 before 8.2.4, from 8.3.0 before 8.3.3, from 8.4.0 before 8.4.2 | CVE List, NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”.
NVD (es)
Existe una vulnerabilidad de inyección de comandos mediante variables de entorno en Bitbucket Server y Data Center. Un atacante con permiso para controlar su nombre de usuario puede aprovechar este problema para ejecutar código arbitrario en el sistema. Esta vulnerabilidad puede no autenticarse si la instancia de Bitbucket Server y Data Center ha habilitado "Allow public signup".
References
| https://confluence.atlassian.com/x/Y4hXRg | mitigation, release-notes, vendor-advisory | |
| https://jira.atlassian.com/browse/BSERV-13522 | issue-tracking, patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-43781 changed 2024-10-02 | CVE Terms of Use |
| NVD | CVE-2022-43781 changed 2026-06-17 | Public domain |