CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.
Other sources
Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.
— CISA
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 7.6.17 - Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 7.17.10 - Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 7.21.4 - Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 8.0.3 - Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 8.1.3 - Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 8.2.2 - Upgrade
Upgrade
Atlassian Bitbucket Server and Data Centerto a version that resolves this vulnerability.Fixed in 8.3.1
Event History
Frequently Asked Questions
What is CVE-2022-36804?
CVE-2022-36804 is a command injection vulnerability in Atlassian Bitbucket Server and Data Center.
Which versions of Atlassian Bitbucket Server and Data Center are affected by CVE-2022-36804?
Multiple versions of Atlassian Bitbucket Server and Data Center are affected by CVE-2022-36804, including versions before 7.6.17, before 7.17.10, before 7.21.4, before 8.0.3, before 8.1.3, and before 8.2.2.
What is the severity of CVE-2022-36804?
CVE-2022-36804 has a severity rating of 8.8 (high).
How can I fix CVE-2022-36804?
To fix CVE-2022-36804, it is recommended to update Atlassian Bitbucket Server and Data Center to version 7.6.17 or higher, 7.17.10 or higher, 7.21.4 or higher, 8.0.3 or higher, 8.1.3 or higher, or 8.2.2 or higher.
Where can I find more information about CVE-2022-36804?
You can find more information about CVE-2022-36804 on the Atlassian Jira page: https://jira.atlassian.com/browse/BSERV-13438