CVE-2024-46901
Apache Subversion vulnerability analysis and mitigation

Overview

Insufficient validation of filenames against control characters in Apache Subversion repositories served via mod_dav_svn was discovered as a security vulnerability. This issue affects all versions of Subversion up to and including version 1.14.4 when serving repositories via mod_dav_svn. The vulnerability was identified and disclosed on December 9, 2024, and has been assigned CVE-2024-46901 (Apache Advisory, NVD).

Technical details

The vulnerability stems from an incomplete patch for a previous issue (CVE-2013-1968) that unintentionally left mod_dav_svn vulnerable to control characters in filenames. The issue has been assigned a CVSS v3.1 Base Score of 3.1 (Low) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L. The vulnerability is categorized under CWE-20 (Improper Input Validation) and CWE-116 (Improper Encoding or Escaping of Output) (Apache Advisory).

Impact

When exploited, this vulnerability can lead to disruption for users accessing the repository via HTTP. The main symptoms include failed SVN operations such as checkout and svnsync, producing XML response errors, and '500 Internal Server Error' messages when browsing affected files or directories via the web interface. It's important to note that only repositories accessed through mod_dav_svn are affected, while local repositories and those accessed via file://, svn://, or svn+ssh:// URLs remain unaffected (Apache Advisory).

Exploitability

The vulnerability requires an authenticated user with commit access to exploit, though configurations allowing anonymous write access are vulnerable without authentication. While Apache Subversion clients have always rejected filenames with control characters, the vulnerability could be triggered by custom malicious Subversion clients or third-party client implementations (Apache Advisory).

Mitigation and workarounds

Users are strongly recommended to upgrade to Subversion version 1.14.5, which includes the fix for this vulnerability. For affected repositories, repair options include fixing bad revision properties using svn propedit over file://, svn://, or svn+ssh:// protocols. Bad paths require a dump/load cycle using svnadmin dump --exclude to filter out problematic paths, followed by loading the result into a fresh repository. For users unable to upgrade immediately, a patch against Subversion 1.14.4 is available (Apache Advisory).

Additional resources


SourceThis report was generated using AI

Related Apache Subversion vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-45720HIGH7.8
  • Apache Subversion logoApache Subversion
  • subversion-ruby
NoYesOct 09, 2024
CVE-2022-24070HIGH7.5
  • Apache Subversion logoApache Subversion
  • subversion:1.14::subversion-devel
NoYesApr 12, 2022
CVE-2022-29046MEDIUM5.4
  • Java logoJava
  • subversion-libs
NoYesApr 12, 2022
CVE-2024-46901MEDIUM4.3
  • Apache Subversion logoApache Subversion
  • subversion:1.10:820250822173251:a51370e3::subversion-perl
NoYesDec 09, 2024
CVE-2022-29048MEDIUM4.3
  • Java logoJava
  • subversion
NoYesApr 12, 2022

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management