Cyber Resilience

CVE-2022-43781

CriticalRCE

Published: 17 November 2022

Published
17 November 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.8748 99.5th percentile
Risk Priority 72 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-43781 is a critical-severity Command Injection (CWE-77) vulnerability in Atlassian Bitbucket. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

CVE-2022-43781 is a command injection vulnerability that arises from unsafe handling of environment variables in Atlassian Bitbucket Server and Data Center. The flaw is tracked under CWE-77 and carries a CVSS 3.1 score of 9.8. An attacker who can control a username value is able to inject operating-system commands that execute with the privileges of the Bitbucket process.

Exploitation requires the ability to set or modify a username; when the instance permits public signup the attack can be performed unauthenticated over the network. Successful exploitation results in arbitrary code execution on the underlying server, giving an attacker full control over the confidentiality, integrity, and availability of the Bitbucket instance and any connected repositories.

Public advisories and patch information are published by Atlassian at the referenced Confluence and Jira locations (https://confluence.atlassian.com/x/Y4hXRg and https://jira.atlassian.com/browse/BSERV-13522).

The CVE maintains a high EPSS score, with a current value of 0.8748 and a recorded peak of 0.9208, indicating sustained exploitation interest after disclosure.

EU & UK References

Vulnerability details

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…

more

the Bitbucket Server and Data Center instance has enabled “Allow public signup”.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

atlassian
bitbucket
7.0.0 — 7.6.19 · 7.7.0 — 7.17.12 · 7.18.0 — 7.21.6

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References