CVE-2022-43781

State
Published
Severity
9.8 Critical
Published
Nov 17, 2022
Updated
Oct 2, 2024
Reserved
Oct 26, 2022

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

Affected Products

ProductVersions
Bitbucket Data CenterAtlassian
  • before 7.0Not affected
  • before 7.17.12Affected
  • before 7.21.6Affected
  • before 7.6.19Affected
  • before 8.0.5Affected
  • before 8.1.5Affected
  • before 8.2.4Affected
  • before 8.3.3Affected
  • before 8.4.2Affected
  • before 8.5.0Affected
Bitbucket ServerAtlassian
  • before 7.0Not affected
  • before 7.17.12Affected
  • before 7.21.6Affected
  • before 7.6.19Affected
  • before 8.0.5Affected
  • before 8.1.5Affected
  • before 8.2.4Affected
  • before 8.3.3Affected
  • before 8.4.2Affected
  • before 8.5.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.