Lucene search

K
atlassianSecurity-metrics-botBSERV-13522
HistoryOct 12, 2022 - 9:46 p.m.

Critical severity command injection vulnerability - CVE-2022-43781

2022-10-1221:46:59
security-metrics-bot
jira.atlassian.com
35
command injection
bitbucket server
data center
cve-2022-43781
environment variables
code execution
vulnerability
version 7.0.0
fixed version 8.5.0

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.57 Medium

EPSS

Percentile

97.7%

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 gain code execution on the system. This vulnerability was introduced in Bitbucket Server and Data Center version 7.0.

Affected versions:

  • 7.0.0 ≤ version < 7.6.19
  • 7.7.0 ≤ version < 7.17.12
  • 7.18.0 ≤ version < 7.21.6
  • 7.22.0 ≤ version < 8.0.5
  • 8.1.0 ≤ version < 8.1.5
  • 8.2.0 ≤ version < 8.2.4
  • 8.3.0 ≤ version < 8.3.3
  • 8.4.0 ≤ version < 8.4.2

Fixed versions:

  • 7.6.19 or newer
  • 7.17.12 or newer
  • 7.21.6 or newer
  • 8.0.5 or newer
  • 8.1.5 or newer
  • 8.2.4 or newer
  • 8.3.3 or newer
  • 8.4.2 or newer
  • 8.5.0 or newer

For full descriptions of the above versions of Bitbucket Server and Data Center, see the [release notes|https://confluence.atlassian.com/bitbucketserver/release-notes-872139866.html]. You can download the latest version of Bitbucket from the [download center.|https://www.atlassian.com/software/bitbucket/download-archives] For Frequently Asked Questions (FAQ) [click here.|https://confluence.atlassian.com/x/5XmaRQ]

For additional details, see the full advisory: [https://confluence.atlassian.com/x/Y4hXRg]

Affected configurations

Vulners
Node
atlassianbitbucket_data_centerRange7.0.0
OR
atlassianbitbucket_data_centerRange<7.6.19
OR
atlassianbitbucket_data_centerRange<7.17.12
OR
atlassianbitbucket_data_centerRange<7.21.6
OR
atlassianbitbucket_data_centerRange<8.0.5
OR
atlassianbitbucket_data_centerRange<8.1.5
OR
atlassianbitbucket_data_centerRange<8.2.4
OR
atlassianbitbucket_data_centerRange<8.3.3
OR
atlassianbitbucket_data_centerRange<8.4.2
OR
atlassianbitbucket_data_centerRange<8.5.0

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.57 Medium

EPSS

Percentile

97.7%