# CVE-2023-22521: Code injection in Crowd Data Center

> Authenticated attackers can execute arbitrary code on Atlassian Crowd servers, compromising confidentiality, integrity, and availability.

- **Severity:** High 8.0 (`CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 21 Nov 2023
- **Updated:** 2 Aug 2024
- **Also known as:** GHSA-m6fg-m377-682m

## What is CVE-2023-22521?

CVE-2023-22521 is a high-severity code injection vulnerability in Atlassian Crowd Data Center, published on 21 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

This High severity RCE (Remote Code Execution) vulnerability was introduced in version 3.4.6 of Crowd Data Center and Server.

This RCE (Remote Code Execution) vulnerability, with a CVSS Score of 8.0, allows an authenticated attacker to execute arbitrary code which has high impact to confidentiality, high impact to integrity, high impact to availability, and requires no user interaction.

Atlassian recommends that Crowd Data Center and Server customers upgrade to latest version, if you are unable to do so, upgrade your instance to one of the specified supported fixed versions:
 Crowd Data Center and Server 3.4: Upgrade to a release greater than or equal to 5.1.6
 Crowd Data Center and Server 5.2: Upgrade to a release greater than or equal to 5.2.1

See the release notes ([https://confluence.atlassian.com/crowd/crowd-release-notes-199094.html]). You can download the latest version of Crowd Data Center and Server from the download center ([https://www.atlassian.com/software/crowd/download-archive]).

This vulnerability was discovered by m1sn0w and reported via our Bug Bounty program

## Which versions are affected by CVE-2023-22521?

It affects 1 product.


Products: Atlassian Crowd.

## How do I fix CVE-2023-22521?

No fix has been published for CVE-2023-22521 yet. Limit exposure of the affected software until one is available.

## Is CVE-2023-22521 being exploited?

There is no known exploitation of CVE-2023-22521 in the wild and no public exploit code.

## Other vulnerabilities in Atlassian Crowd Data Center

- [CVE-2019-11580](https://insights.sbomify.com/CVE-2019-11580/): Atlassian Crowd and Crowd Data Center Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2022-43782](https://insights.sbomify.com/CVE-2022-43782/): Auth bypass in Crowd Data Center (critical 9.8)
- [CVE-2016-6496](https://insights.sbomify.com/CVE-2016-6496/): Deserialization in n/a (critical 9.8)
- [CVE-2017-18105](https://insights.sbomify.com/CVE-2017-18105/): Auth bypass in Crowd (high 8.1)
- [CVE-2018-20238](https://insights.sbomify.com/CVE-2018-20238/): Auth bypass in Crowd (high 8.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-22521 and fix it if it is affected.

What it is: CVE-2023-22521 is a high-severity code injection vulnerability in Atlassian Crowd Data Center, published on 21 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-22521 in the wild and no public exploit code.

Affected product: Atlassian Crowd Data Center. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-22521/ (Markdown: https://insights.sbomify.com/CVE-2023-22521/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-22521
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-22521
- OSV: https://osv.dev/vulnerability/CVE-2023-22521

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-22521/
Summaries are generated and may contain mistakes; the official description above is the record.
