# CVE-2023-51451: SSRF in symbolicator via invalid protocol

> An attacker can force Symbolicator to send requests to internal IPs and expose responses via the API, requiring an upgrade to fix.

- **Severity:** Medium 4.3 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 22 Dec 2023
- **Updated:** 2 Aug 2024
- **Also known as:** GHSA-ghg9-7m82-h96r

## What is CVE-2023-51451?

CVE-2023-51451 is a medium-severity server-side request forgery vulnerability in getsentry symbolicator, published on 22 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

Symbolicator is a service used in Sentry. Starting in Symbolicator version 0.3.3 and prior to version 21.12.1, an attacker could make Symbolicator send GET HTTP requests to arbitrary URLs with internal IP addresses by using an invalid protocol. The responses of those requests could be exposed via Symbolicator's API. In affected Sentry instances, the data could be exposed through the Sentry API and user interface if the attacker has a registered account. The issue has been fixed in Symbolicator release 23.12.1, Sentry self-hosted release 23.12.1, and has already been mitigated on sentry.io on December 18, 2023. If updating is not possible, some other mitigations are available. One may disable JS processing by toggling the option `Allow JavaScript Source Fetching` in `Organization Settings > Security & Privacy` and/or disable all untrusted public repositories under `Project Settings > Debug Files`. Alternatively, if JavaScript and native symbolication are not required, disable Symbolicator completely in `config.yml`.

Weakness: CWE-918 (Server-Side Request Forgery)

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

It affects 1 product.


Products: Sentry Symbolicator.

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

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

## Is CVE-2023-51451 being exploited?

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

## Other vulnerabilities in getsentry symbolicator

- [CVE-2023-49094](https://insights.sbomify.com/CVE-2023-49094/): Symbolicator Server Side Request Forgery vulnerability (medium 4.3)

## Fix prompt for AI coding agents

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

What it is: CVE-2023-51451 is a medium-severity server-side request forgery vulnerability in getsentry symbolicator, published on 22 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-51451 in the wild and no public exploit code.

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

## Sources

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

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