SARA / Free Tools / CVE / CVE-2022-43781

CVE-2022-43781 — There is a command injection vulnerability using environment variables in Bitbuc

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 Bitbu

CVSS
— —
EPSS
98.04% (top 0.10%)
CWE
—
Published
2022-11-17T00:00:01.210Z
Last modified
2024-10-02T14:56:09.693Z
CVSS vector
—

01What is this vulnerability?

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

02Affected products

VendorProductVersions
AtlassianBitbucket Data Centerbefore 7.0, before 7.17.12, before 7.21.6, before 7.6.19, before 8.0.5, before 8.1.5, before 8.2.4, before 8.3.3, before 8.4.2, before 8.5.0
AtlassianBitbucket Serverbefore 7.0, before 7.17.12, before 7.21.6, before 7.6.19, before 8.0.5, before 8.1.5, before 8.2.4, before 8.3.3, before 8.4.2, before 8.5.0

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →