CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability

Published Aug 25, 2022
·
Updated

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

8 affected components
Atlassian Bitbucket>=7.0.0<7.6.17
Atlassian Bitbucket>=7.7.0<7.17.10
Atlassian Bitbucket>=7.18.0<7.21.4
Atlassian Bitbucket>=8.0.0<8.0.3
Atlassian Bitbucket>=8.1.0<8.1.3
Atlassian Bitbucket>=8.2.0<8.2.2
Atlassian Bitbucket=8.3.0
Atlassian Bitbucket Server and Data Center

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 7.6.17
  2. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 7.17.10
  3. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 7.21.4
  4. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 8.0.3
  5. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 8.1.3
  6. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 8.2.2
  7. Upgrade

    Upgrade Atlassian Bitbucket Server and Data Center to a version that resolves this vulnerability.

    Fixed in 8.3.1

Event History

Aug 25, 2022
CVE Published
via MITRE·05:40 AM
Data Sourced
via MITRE·05:40 AM
DescriptionWeakness
Sep 30, 2022
Known Exploited
via CISA·12:00 AM

Frequently Asked Questions

1

What is CVE-2022-36804?

CVE-2022-36804 is a command injection vulnerability in Atlassian Bitbucket Server and Data Center.

2

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.

3

What is the severity of CVE-2022-36804?

CVE-2022-36804 has a severity rating of 8.8 (high).

4

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.

5

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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203