Command Injection via Env Vars in Atlassian Bitbucket Server/Data Center
CVE-2022-43781 Published on November 17, 2022
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.
Vulnerability Analysis
CVE-2022-43781 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Command Injection Vulnerability?
The software constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CVE-2022-43781 has been classified to as a Command Injection vulnerability or weakness.
Products Associated with CVE-2022-43781
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-43781 are published in Atlassian Bitbucket:
Affected Versions
Atlassian Bitbucket Data Center:- Version before 7.0 is unaffected.
- Version before 7.17.12 is affected.
- Version before 7.21.6 is affected.
- Version before 7.6.19 is affected.
- Version before 8.0.5 is affected.
- Version before 8.1.5 is affected.
- Version before 8.2.4 is affected.
- Version before 8.3.3 is affected.
- Version before 8.4.2 is affected.
- Version before 8.5.0 is affected.
- Version before 7.0 is unaffected.
- Version before 7.17.12 is affected.
- Version before 7.21.6 is affected.
- Version before 7.6.19 is affected.
- Version before 8.0.5 is affected.
- Version before 8.1.5 is affected.
- Version before 8.2.4 is affected.
- Version before 8.3.3 is affected.
- Version before 8.4.2 is affected.
- Version before 8.5.0 is affected.
- Version 7.0.0 and below 7.6.19 is affected.
- Version 7.7.0 and below 7.17.12 is affected.
- Version 7.18.0 and below 7.21.6 is affected.
- Version 7.22.0 and below 8.0.5 is affected.
- Version 8.1.0 and below 8.1.5 is affected.
- Version 8.2.0 and below 8.2.4 is affected.
- Version 8.3.0 and below 8.3.3 is affected.
- Version 8.4.0 and below 8.4.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.