Path traversal in librsvg - CVE-2023-38633

 

Path traversal in librsvg - CVE-2023-38633

Published: July 28, 2023


Vulnerability identifier: #VU78756
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-38633
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the URL decoder. A remote attacker can pass specially crafted URL to the library and read arbitrary files on the system.


Affected software

librsvg
Debian Linux
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Desktop Applications Module
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
openEuler
Ubuntu
Anolis OS
Fedora
Red Hat Migration Toolkit for Applications
VMware Tanzu Application Service for VMs
Isolation Segment
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
librsvg-2-2
librsvg-2-2-debuginfo
gdk-pixbuf-loader-rsvg-debuginfo
gdk-pixbuf-loader-rsvg
librsvg-debugsource
typelib-1_0-Rsvg-2_0
librsvg-devel
librsvg-lang
librsvg2-2 (Ubuntu package)
librsvg (Debian package)
librsvg2
librsvg2-debugsource
librsvg2-devel
librsvg2-debuginfo
librsvg2-tools
librsvg2-help
librsvg2 (Red Hat package)
librsvg-2-2-32bit-debuginfo
rsvg-convert
rsvg-convert-debuginfo
librsvg-2-2-32bit
gdk-pixbuf-loader-rsvg-32bit
gdk-pixbuf-loader-rsvg-32bit-debuginfo
rsvg-thumbnailer
gdk-pixbuf-loader-rsvg-64bit
gdk-pixbuf-loader-rsvg-64bit-debuginfo
librsvg-2-2-64bit
librsvg-2-2-64bit-debuginfo
gnome-base/librsvg
IBM Security Guardium

How to mitigate CVE-2023-38633

Install update from vendor's website.

librsvg - update to 2.56.3
Red Hat Migration Toolkit for Applications - update to 6.2.1
librsvg-2-2 - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
librsvg-2-2-debuginfo - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
gdk-pixbuf-loader-rsvg-debuginfo - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
gdk-pixbuf-loader-rsvg - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
librsvg-debugsource - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
typelib-1_0-Rsvg-2_0 - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
librsvg-devel - addressed in versions 2.46.7-150200.3.9.1, 2.52.10-150400.3.6.1
librsvg-lang - update to 2.46.7-150200.3.9.1
librsvg2-2 (Ubuntu package) - addressed in versions 2.48.9-1ubuntu0.20.04.4, 2.52.5+dfsg-3ubuntu0.2, 2.54.5+dfsg-1ubuntu2.1
librsvg (Debian package) - addressed in versions 2.50.3+dfsg-1+deb11u1, 2.54.7+dfsg-1~deb12u1
librsvg2 - update to 2.50.5-2
librsvg2-debugsource - update to 2.50.5-2
librsvg2-devel - update to 2.50.5-2
librsvg2-debuginfo - update to 2.50.5-2
librsvg2-tools - update to 2.50.5-2
librsvg2-help - update to 2.50.5-2
librsvg2 - update to 2.50.7-1
librsvg2 (Red Hat package) - addressed in versions 2.50.7-1.el9_0.1, 2.50.7-1.el9_2.1
librsvg-2-2-32bit-debuginfo - update to 2.52.10-150400.3.6.1
rsvg-convert - update to 2.52.10-150400.3.6.1
rsvg-convert-debuginfo - update to 2.52.10-150400.3.6.1
librsvg-2-2-32bit - update to 2.52.10-150400.3.6.1
gdk-pixbuf-loader-rsvg-32bit - update to 2.52.10-150400.3.6.1
gdk-pixbuf-loader-rsvg-32bit-debuginfo - update to 2.52.10-150400.3.6.1
rsvg-thumbnailer - update to 2.52.10-150400.3.6.1
gdk-pixbuf-loader-rsvg-64bit - update to 2.52.10-150400.3.6.1
gdk-pixbuf-loader-rsvg-64bit-debuginfo - update to 2.52.10-150400.3.6.1
librsvg-2-2-64bit - update to 2.52.10-150400.3.6.1
librsvg-2-2-64bit-debuginfo - update to 2.52.10-150400.3.6.1
librsvg2 - addressed in versions 2.54.6-1.fc37, 2.56.3-1.fc38
gnome-base/librsvg - update to 2.56.3
librsvg2-tools - update to 2.56.3-1
librsvg2-devel - update to 2.56.3-1
librsvg2 - update to 2.56.3-1
VMware Tanzu Application Service for VMs - addressed in versions 3.0.15, 4.0.6
Isolation Segment - addressed in versions 3.0.15, 4.0.6

External References

Related Security Bulletins