Skip to content

SSRF in symbolicator via invalid protocol

Moderate
oioki published GHSA-ghg9-7m82-h96r Dec 21, 2023

Package

cargo symbolicator (Rust)

Affected versions

>=0.3.3,<23.12.1

Patched versions

23.12.1

Description

Impact

Symbolicator is a service used in Sentry. 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.

Patches

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.

Workaround

Please update Symbolicator and Sentry self-hosted. If updating is not possible, the following can be done to mitigate the issue:

  1. Disable JS processing by toggling the option "Allow JavaScript Source Fetching" in Organization Settings > Security & Privacy.
  2. 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 by specifying:

symbolicator.enabled: false

References

#1343

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2023-51451

Weaknesses

Credits