OS command injection in Atlassian Bitbucket Server
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Atlassian | Bitbucket Server | 7.0.0 and later; before 7.6.17; 7.7.0 and later; before 7.17.10; 7.18.0 and later; before 7.21.4; 8.0.0 and later; before 8.0.3; 8.1.0 and later; before 8.1.3; 8.2.0 and later; before 8.2.2; 8.3.0 and later; before 8.3.1 | 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1 | Patch available | CNA |
| Atlassian | Bitbucket Data Center | 7.0.0 and later; before 7.6.17; 7.7.0 and later; before 7.17.10; 7.18.0 and later; before 7.21.4; 8.0.0 and later; before 8.0.3; 8.1.0 and later; before 8.1.3; 8.2.0 and later; before 8.2.2; 8.3.0 and later; before 8.3.1 | 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1 | Patch available | CNA |
- Bitbucket Server VendorAtlassian Affected 7.0.0 and later; before 7.6.17; 7.7.0 and later; before 7.17.10; 7.18.0 and later; before 7.21.4; 8.0.0 and later; before 8.0.3; 8.1.0 and later; before 8.1.3; 8.2.0 and later; before 8.2.2; 8.3.0 and later; before 8.3.1 Fixed in 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1 Patch available CNA
- Bitbucket Data Center VendorAtlassian Affected 7.0.0 and later; before 7.6.17; 7.7.0 and later; before 7.17.10; 7.18.0 and later; before 7.21.4; 8.0.0 and later; before 8.0.3; 8.1.0 and later; before 8.1.3; 8.2.0 and later; before 8.2.2; 8.3.0 and later; before 8.3.1 Fixed in 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* | 7.0.0 to before 7.6.17; 7.7.0 to before 7.17.10; 7.18.0 to before 7.21.4; 8.0.0 to before 8.0.3; 8.1.0 to before 8.1.3; 8.2.0 to before 8.2.2 | Vulnerable | Atlassian |
| cpe:2.3:a:atlassian:bitbucket:8.3.0:*:*:*:*:*:*:* | 8.3.0 | Vulnerable | Atlassian |
- cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:* Versions 7.0.0 to before 7.6.17; 7.7.0 to before 7.17.10; 7.18.0 to before 7.21.4; 8.0.0 to before 8.0.3; 8.1.0 to before 8.1.3; 8.2.0 to before 8.2.2 Vulnerable ·Atlassian
- cpe:2.3:a:atlassian:bitbucket:8.3.0:*:*:*:*:*:*:* Versions 8.3.0 Vulnerable ·Atlassian
Remediation
- Fix · CNA Bitbucket Server (Atlassian) Fixed in 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1
- Fix · CNA Bitbucket Data Center (Atlassian) Fixed in 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.3, 8.2.2, 8.3.1
Timeline
- 2022-09-30 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2022-36804
- 2026-10-03 Alias added: GHSA-vcm2-j8f4-m7fj
References
More Atlassian Bitbucket vulnerabilities
- TI-2022-21515 Command injection in Atlassian Bitbucket Data Center CVSS 3.1CRITICAL 9.8
- TI-2022-09598 Improper authentication in Atlassian Bamboo Server CVSS 3.1CRITICAL 9.8
- TI-2019-11186 OS command injection in Atlassian Bitbucket Server CVSS 3.1CRITICAL 9.8
- TI-2018-03782 Link following in Atlassian Bitbucket Server CVSS 3.0CRITICAL 9.9
- TI-2019-02555 Path traversal in Atlassian Bitbucket Data Center CVSS 3.0CRITICAL 9.1
- TI-2022-09599 Origin validation error in Atlassian Bamboo Server CVSS 3.1HIGH 8.8
Sources
- CVE-2022-36804 · CVE Program
- CVE-2022-36804 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-vcm2-j8f4-m7fj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences