CVE-2023-38633
librsvg: Arbitrary file read when xinclude href has special characters
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
3Exploited in Wild
-Decision
Descriptions
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.
A directory traversal vulnerability was discovered in the URL decoder of Librsvg. This issue occurs when xinclude href has special characters; demonstrated by href=".?../../../../../../../../../../etc/passwd" in an xi:include element, which can allow an attacker to send a specially crafted URL request containing "dot dot" sequences (/../) to view arbitrary files on the system, affecting the data confidentiality.
Zac Sims discovered a directory traversal in the URL decoder of librsvg, a SAX-based renderer library for SVG files, which could result in read of arbitrary files when processing a specially crafted SVG file with an include element.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-07-21 CVE Reserved
- 2023-07-22 CVE Published
- 2024-08-02 CVE Updated
- 2024-08-02 First Exploit
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
References (14)
URL | Tag | Source |
---|---|---|
http://seclists.org/fulldisclosure/2023/Jul/43 | Mailing List |
|
http://www.openwall.com/lists/oss-security/2023/09/06/10 | Mailing List |
|
https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.56.3 | Release Notes | |
https://news.ycombinator.com/item?id=37415799 | Issue Tracking | |
https://security.netapp.com/advisory/ntap-20230831-0011 | Third Party Advisory |
|
URL | Date | SRC |
---|---|---|
http://www.openwall.com/lists/oss-security/2023/07/27/1 | 2024-08-02 | |
https://gitlab.gnome.org/GNOME/librsvg/-/issues/996 | 2024-08-02 | |
https://www.canva.dev/blog/engineering/when-url-parsers-disagree-cve-2023-38633 | 2024-08-02 |
URL | Date | SRC |
---|---|---|
https://bugzilla.suse.com/show_bug.cgi?id=1213502 | 2024-01-24 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.42.3 < 2.46.6 Search vendor "Gnome" for product "Librsvg" and version " >= 2.42.3 < 2.46.6" | - |
Affected
| ||||||
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.48.0 < 2.48.11 Search vendor "Gnome" for product "Librsvg" and version " >= 2.48.0 < 2.48.11" | - |
Affected
| ||||||
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.50.0 < 2.50.8 Search vendor "Gnome" for product "Librsvg" and version " >= 2.50.0 < 2.50.8" | - |
Affected
| ||||||
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.52.0 < 2.52.10 Search vendor "Gnome" for product "Librsvg" and version " >= 2.52.0 < 2.52.10" | - |
Affected
| ||||||
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.54.0 < 2.54.6 Search vendor "Gnome" for product "Librsvg" and version " >= 2.54.0 < 2.54.6" | - |
Affected
| ||||||
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.55.0 < 2.55.3 Search vendor "Gnome" for product "Librsvg" and version " >= 2.55.0 < 2.55.3" | - |
Affected
| ||||||
Gnome Search vendor "Gnome" | Librsvg Search vendor "Gnome" for product "Librsvg" | >= 2.56.0 < 2.56.3 Search vendor "Gnome" for product "Librsvg" and version " >= 2.56.0 < 2.56.3" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 37 Search vendor "Fedoraproject" for product "Fedora" and version "37" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 38 Search vendor "Fedoraproject" for product "Fedora" and version "38" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 11.0 Search vendor "Debian" for product "Debian Linux" and version "11.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 12.0 Search vendor "Debian" for product "Debian Linux" and version "12.0" | - |
Affected
|