8.8High KEV

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

Atlassian Bitbucket Server; Atlassian Bitbucket Data Center Published: (4 years ago)

Known exploited — Atlassian Bitbucket Server and Data Center Command Injection Vulnerability

CISA confirmed this vulnerability is used in real attacks on 30.09.2022. Remediation deadline for US federal agencies: 21.10.2022.

Required action: Apply updates per vendor instructions. https://jira.atlassian.com/browse/BSERV-13438; https://nvd.nist.gov/vuln/detail/CVE-2022-36804

Description

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.

Weakness (CWE): CWE-78CWE-88

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
atlassian bitbucket 7.0.0 – < 7.6.17
Atlassian Bitbucket Data Center 7.0.0 – < unspecified, unspecified – < 7.6.17, 7.7.0 – < unspecified, unspecified – < 7.17.10, 7.18.0 – < unspecified, unspecified – < 7.21.4, 8.0.0 – < unspecified, unspecified – < 8.0.3, 8.1.0 – < unspecified, unspecified – < 8.1.3, 8.2.0 – < unspecified, unspecified – < 8.2.2, 8.3.0 – < unspecified, unspecified – < 8.3.1
Atlassian Bitbucket Server 7.0.0 – < unspecified, unspecified – < 7.6.17, 7.7.0 – < unspecified, unspecified – < 7.17.10, 7.18.0 – < unspecified, unspecified – < 7.21.4, 8.0.0 – < unspecified, unspecified – < 8.0.3, 8.1.0 – < unspecified, unspecified – < 8.1.3, 8.2.0 – < unspecified, unspecified – < 8.2.2, 8.3.0 – < unspecified, unspecified – < 8.3.1

References and patches

CPE matches (NVD) (7)

  • cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* ≥ 7.0.0 < 7.6.17
  • cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* ≥ 7.7.0 < 7.17.10
  • cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* ≥ 7.18.0 < 7.21.4
  • cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* ≥ 8.0.0 < 8.0.3
  • cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* ≥ 8.1.0 < 8.1.3
  • cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* ≥ 8.2.0 < 8.2.2
  • cpe:2.3:a:atlassian:bitbucket:8.3.0:*:*:*:*:*:*:*