Skip to content

CVE-2022-43781 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 arbi...

CriticalCVSS 9.8 EPSS 98.0% Framework module
Published
Updated
Exploit status
Public exploit available
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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”.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
atlassian bitbucket >= 7.0.0, < 7.6.19; >= 7.7.0, < 7.17.12; >= 7.18.0, < 7.21.6; >= 7.22.0, < 8.0.5 +4 more 7.6.19, 7.17.12, 7.21.6, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2 Fixed
atlassian Bitbucket Data Center = before 7.6.19; = before 7.17.12; = before 7.21.6; = before 8.0.5 +5 more No fix listed Versions listed
atlassian Bitbucket Server = before 7.6.19; = before 7.17.12; = before 7.21.6; = before 8.0.5 +5 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
atlassian Bitbucket Data Center = before 7.17.12 No fix listed
atlassian Bitbucket Data Center = before 7.21.6 No fix listed
atlassian Bitbucket Data Center = before 7.6.19 No fix listed
atlassian Bitbucket Data Center = before 8.0.5 No fix listed
atlassian Bitbucket Data Center = before 8.1.5 No fix listed
atlassian Bitbucket Data Center = before 8.2.4 No fix listed
atlassian Bitbucket Data Center = before 8.3.3 No fix listed
atlassian Bitbucket Data Center = before 8.4.2 No fix listed
atlassian Bitbucket Data Center = before 8.5.0 No fix listed
atlassian Bitbucket Server = before 7.17.12 No fix listed
atlassian Bitbucket Server = before 7.21.6 No fix listed
atlassian Bitbucket Server = before 7.6.19 No fix listed
atlassian Bitbucket Server = before 8.0.5 No fix listed
atlassian Bitbucket Server = before 8.1.5 No fix listed
atlassian Bitbucket Server = before 8.2.4 No fix listed
atlassian Bitbucket Server = before 8.3.3 No fix listed
atlassian Bitbucket Server = before 8.4.2 No fix listed
atlassian Bitbucket Server = before 8.5.0 No fix listed
atlassian bitbucket >= 7.0.0, < 7.6.19 7.6.19
atlassian bitbucket >= 7.7.0, < 7.17.12 7.17.12
atlassian bitbucket >= 7.18.0, < 7.21.6 7.21.6
atlassian bitbucket >= 7.22.0, < 8.0.5 8.0.5
atlassian bitbucket >= 8.1.0, < 8.1.5 8.1.5
atlassian bitbucket >= 8.2.0, < 8.2.4 8.2.4
atlassian bitbucket >= 8.3.0, < 8.3.3 8.3.3
Show 1 more
ProductAffected versionsFixed in
atlassian bitbucket >= 8.4.0, < 8.4.2 8.4.2

References