# CVE-2024-22038: DoS attacks, information leaks etc. with crafted Git repositories in obs-scm-bridge

> Attackers can cause denial of service and leak information by providing specially crafted Git repositories to obs-scm-bridge.

- **Severity:** Medium 6.8 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 28 Nov 2024
- **Updated:** 28 Nov 2024
- **Also known as:** GHSA-4hx2-h4m6-qchx, SUSE-SU-2024:4212-1, SUSE-SU-2025:0857-1, SUSE-SU-2026:21518-1, openSUSE-SU-2024:14543-1, openSUSE-SU-2026:10183-1, openSUSE-SU-2026:20361-1, openSUSE-SU-2026:20676-1

## What is CVE-2024-22038?

CVE-2024-22038 is a medium-severity denial of service vulnerability in openSUSE Factory, published on 28 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

Various problems in obs-scm-bridge allows attackers that create specially crafted git repositories to leak information of cause denial of service.

Weakness: CWE-59 (Improper Link Resolution Before File Access)

## Which versions are affected by CVE-2024-22038?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `build` | SUSE:Enterprise Storage 7.1 | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Enterprise Storage 7.1 | All versions | 0.5.4-150100.3.6.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 20250306-150200.19.1 |
| `build` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Module for Development Tools 15 SP5 | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Module for Development Tools 15 SP6 | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Module for Development Tools 15 SP6 | All versions | 0.5.4-150100.3.6.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 0.5.4-150100.3.6.1 |
| `build` | SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 20250306-150200.19.1 |
| `build` | SUSE:Linux Micro Extras 6.2 | All versions | 20260415-160000.1.1 |
| `obs-scm-bridge` | openSUSE:Leap 15.5 | All versions | 0.5.4-150100.3.6.1 |
| `build` | openSUSE:Leap 15.6 | All versions | 20250306-150200.19.1 |
| `obs-scm-bridge` | openSUSE:Leap 15.6 | All versions | 0.5.4-150100.3.6.1 |
| `obs-scm-bridge` | openSUSE:Leap 16.0 | All versions | 0.7.4-bp160.1.1 |
| `osc` | openSUSE:Leap 16.0 | All versions | 1.24.0-bp160.1.1 |
| `build` | openSUSE:Tumbleweed | All versions | 20260202-2.1 |
| `obs-scm-bridge` | openSUSE:Tumbleweed | All versions | 0.5.4-1.1 |

## How do I fix CVE-2024-22038?

Apply the vendor's patch.

## Is CVE-2024-22038 being exploited?

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

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-22038 and fix it if it is affected.

What it is: CVE-2024-22038 is a medium-severity denial of service vulnerability in openSUSE Factory, published on 28 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2024-22038 in the wild and no public exploit code.

Affected product: openSUSE Factory. 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-2024-22038/ (Markdown: https://insights.sbomify.com/CVE-2024-22038/index.md)
```

## Sources

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

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