# CVE-2023-41914: Race condition in n/a

> Attackers can exploit filesystem race conditions in Slurm to gain file ownership, overwrite, or delete files, potentially leading to privilege escalation.

- **Severity:** High 7.0 (`CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Nov 2023
- **Updated:** 5 Sep 2024
- **Also known as:** DEBIAN-CVE-2023-41914, DSA-5529-1, GHSA-v8jm-8mp9-5962, SUSE-SU-2023:4113-1, SUSE-SU-2023:4114-1, SUSE-SU-2023:4115-1, SUSE-SU-2023:4116-1, SUSE-SU-2023:4117-1, SUSE-SU-2023:4118-1, SUSE-SU-2023:4119-1, SUSE-SU-2023:4120-1, SUSE-SU-2023:4121-1, SUSE-SU-2023:4329-1, SUSE-SU-2023:4563-1, SUSE-SU-2023:4564-1, SUSE-SU-2023:4565-1, SUSE-SU-2023:4566-1, SUSE-SU-2023:4578-1, SUSE-SU-2023:4579-1, SUSE-SU-2023:4580-1, SUSE-SU-2023:4581-1, SUSE-SU-2023:4582-1, UBUNTU-CVE-2023-41914, openSUSE-SU-2024:13330-1

## What is CVE-2023-41914?

CVE-2023-41914 is a high-severity vulnerability in Fedoraproject Fedora, published on 3 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

SchedMD Slurm 23.02.x before 23.02.6 and 22.05.x before 22.05.10 allows filesystem race conditions for gaining ownership of a file, overwriting a file, or deleting files.

Weakness: CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization)

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

It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `slurm` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 18.08.9-150100.3.25.1 |
| `slurm_20_02` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 20.02.7-150100.3.27.1 |
| `slurm_20_11` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 20.11.9-150100.3.19.1 |
| `slurm_22_05` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 22.05.10-150100.3.6.1 |
| `slurm_23_02` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 23.02.6-150100.3.14.1 |
| `slurm` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 20.02.7-150200.3.17.1 |
| `slurm_20_11` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 20.11.9-150200.6.13.1 |
| `slurm_22_05` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 22.05.10-150200.5.6.1 |
| `slurm_23_02` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 23.02.6-150200.5.14.1 |
| `slurm` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 20.11.9-150300.4.9.1 |
| `slurm_22_05` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 22.05.10-150300.7.6.1 |
| `slurm_23_02` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 23.02.6-150300.7.14.1 |
| `slurm` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 20.11.9-150300.4.9.1 |
| `slurm_22_05` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 22.05.10-150300.7.6.1 |
| `slurm_23_02` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 23.02.6-150300.7.14.1 |
| `slurm` | SUSE:Linux Enterprise Module for HPC 12 | All versions | 17.02.11-6.56.1 |
| `slurm_18_08` | SUSE:Linux Enterprise Module for HPC 12 | All versions | 18.08.9-3.20.1 |
| `slurm_20_02` | SUSE:Linux Enterprise Module for HPC 12 | All versions | 20.02.7-3.17.1 |
| `slurm_20_11` | SUSE:Linux Enterprise Module for HPC 12 | All versions | 20.11.9-3.16.1 |
| `slurm_22_05` | SUSE:Linux Enterprise Module for HPC 12 | All versions | 22.05.10-3.6.1 |
| `slurm_23_02` | SUSE:Linux Enterprise Module for HPC 12 | All versions | 23.02.6-3.13.1 |
| `slurm_22_05` | SUSE:Linux Enterprise Module for HPC 15 SP4 | All versions | 22.05.10-150300.7.6.1 |
| `slurm_23_02` | SUSE:Linux Enterprise Module for HPC 15 SP4 | All versions | 23.02.6-150300.7.14.1 |
| `slurm` | SUSE:Linux Enterprise Module for HPC 15 SP5 | All versions | 23.02.6-150500.5.12.1 |
| `slurm` | SUSE:Linux Enterprise Module for Package Hub 15 SP5 | All versions | 23.02.6-150500.5.12.1 |
| `slurm_20_11` | openSUSE:Leap 15.4 | All versions | 20.11.9-150200.6.13.1 |
| `slurm_22_05` | openSUSE:Leap 15.4 | All versions | 22.05.10-150300.7.6.1 |
| `slurm_23_02` | openSUSE:Leap 15.4 | All versions | 23.02.6-150300.7.14.1 |
| `slurm` | openSUSE:Leap 15.5 | All versions | 23.02.6-150500.5.12.1 |
| `slurm_20_11` | openSUSE:Leap 15.5 | All versions | 20.11.9-150200.6.13.1 |
| `slurm_22_05` | openSUSE:Leap 15.5 | All versions | 22.05.10-150300.7.6.1 |

Products: Fedoraproject Fedora, Schedmd Slurm.

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

Upgrade to a fixed version.

## Is CVE-2023-41914 being exploited?

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

## Other vulnerabilities in Fedoraproject Fedora

- [CVE-2024-4577](https://insights.sbomify.com/CVE-2024-4577/): PHP-CGI OS Command Injection (critical 9.8, exploited in the wild)
- [CVE-2021-39226](https://insights.sbomify.com/CVE-2021-39226/): Grafana Authentication Bypass (critical 9.8, exploited in the wild)
- [CVE-2019-5544](https://insights.sbomify.com/CVE-2019-5544/): VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2024-4947](https://insights.sbomify.com/CVE-2024-4947/): Google Chromium V8 Type Confusion (critical 9.6, exploited in the wild)
- [CVE-2024-4671](https://insights.sbomify.com/CVE-2024-4671/): Google Chromium Visuals Use-After-Free (critical 9.6, exploited in the wild)

## Fix prompt for AI coding agents

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

What it is: CVE-2023-41914 is a high-severity vulnerability in Fedoraproject Fedora, published on 3 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-41914 in the wild and no public exploit code.

Affected product: Fedoraproject Fedora. 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-41914/ (Markdown: https://insights.sbomify.com/CVE-2023-41914/index.md)
```

## Sources

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

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