CVE-2023-38633 Path traversal in n/a

Medium 5.5 Published Updated

Attackers can exploit a directory traversal flaw in librsvg to read arbitrary files from the local filesystem via crafted SVG inputs.

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

What is CVE-2023-38633?

CVE-2023-38633 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 22 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A directory traversal problem in the URL decoder of librsvg before 2.56.3 could be used by local or remote attackers to disclose files (on the local filesystem outside of the expected area), as demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element.

Weakness: CWE-22

Which versions are affected by CVE-2023-38633?

It affects 3 products.

Linux distribution packages (38)
librsvg2 AlmaLinux:9All versions2.50.7-1.el9_2.1
librsvg2-devel AlmaLinux:9All versions2.50.7-1.el9_2.1
librsvg2-tools AlmaLinux:9All versions2.50.7-1.el9_2.1
librsvg2 Red Hat:enterprise_linux:9::appstreamAll versions0:2.50.7-1.el9_2.1
librsvg2-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.50.7-1.el9_2.1
librsvg2-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.50.7-1.el9_2.1
librsvg2-devel Red Hat:enterprise_linux:9::appstreamAll versions0:2.50.7-1.el9_2.1
librsvg2-tools Red Hat:enterprise_linux:9::appstreamAll versions0:2.50.7-1.el9_2.1
librsvg2-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.50.7-1.el9_2.1
librsvg2 Red Hat:rhel_eus:9.0::appstreamAll versions0:2.50.7-1.el9_0.1
librsvg2-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:2.50.7-1.el9_0.1
librsvg2-debugsource Red Hat:rhel_eus:9.0::appstreamAll versions0:2.50.7-1.el9_0.1
librsvg2-devel Red Hat:rhel_eus:9.0::appstreamAll versions0:2.50.7-1.el9_0.1
librsvg2-tools Red Hat:rhel_eus:9.0::appstreamAll versions0:2.50.7-1.el9_0.1
librsvg2-tools-debuginfo Red Hat:rhel_eus:9.0::appstreamAll versions0:2.50.7-1.el9_0.1
librsvg SUSE:Enterprise Storage 7All versions2.46.7-150200.3.9.1
librsvg SUSE:Enterprise Storage 7.1All versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise Micro 5.2All versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise Micro 5.3All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Micro 5.4All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Module for Desktop Applications 15 SP5All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions2.52.10-150400.3.6.1
librsvg SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.46.7-150200.3.9.1
librsvg SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions2.46.7-150200.3.9.1
librsvg SUSE:Manager Proxy 4.2All versions2.46.7-150200.3.9.1
librsvg SUSE:Manager Server 4.2All versions2.46.7-150200.3.9.1
librsvg openSUSE:Leap 15.4All versions2.52.10-150400.3.6.1
librsvg openSUSE:Leap 15.5All versions2.52.10-150400.3.6.1
librsvg openSUSE:Leap Micro 5.3All versions2.52.10-150400.3.6.1
librsvg openSUSE:Leap Micro 5.4All versions2.52.10-150400.3.6.1

Products include Debian Debian Linux, Fedoraproject Fedora, Gnome Librsvg.

How do I fix CVE-2023-38633?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-38633 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2023:5081, DEBIAN-CVE-2023-38633, DSA-5484-1, GHSA-jf6v-gw88-w63q, JLSEC-2026-512, MGASA-2023-0259 and 8 more.

Is CVE-2023-38633 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free