CVE-2023-52890
Medium · 4.5CVSS
4.5
EPSS
0.2%
Published
Jun 13, 2024
CISA due date
—
Cloudanix analysis
A flaw in software that lets Linux systems read Windows hard drives could let someone already on the computer cause minor problems or peek at limited data, but fixing it is straightforward by installing a newer version.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- High
- Impact
- Other
- Component
- Library
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free vulnerability in the ntfs_uppercase_mbs function within libntfs-3g/unistr.c that can result in memory corruption during Unicode string processing on mounted NTFS volumes.
Why it matters to the business
Limited local impact on systems that mount Windows-formatted storage, potentially allowing a low-privileged user to read or alter small amounts of data or cause application instability; low urgency given stable low exploit probability and no observed campaigns.
How an attack unfolds
An attacker with local access crafts or manipulates NTFS metadata or filenames that trigger repeated calls to ntfs_uppercase_mbs, freeing a buffer that is later reused, leading to limited read/write or denial-of-service effects; exploitation is considered challenging due to timing and access requirements.
How to fix it
Upgrade NTFS-3G to a build containing commit 75dcdc2 or later; rebuild dependent packages that statically link libntfs-3g and verify the updated library is loaded at runtime.
How to confirm the fix worked
Confirm the installed ntfs-3g binary or library reports a version or commit hash at or after 75dcdc2; run targeted filesystem enumeration tests on sample NTFS images while monitoring for crashes or unexpected behavior.
Typical attack path
- Obtain local user access on a system using NTFS-3G
- Prepare or modify an NTFS volume containing specially chosen filenames or attributes
- Mount the volume or perform directory enumeration/listing operations that invoke ntfs_uppercase_mbs
- Trigger repeated processing to induce the use-after-free condition
- Leverage resulting memory state for limited information disclosure or corruption
How to detect it
Review system logs for ntfs-3g crashes or segmentation faults during mount or directory operations; examine process core dumps or memory sanitizer reports that reference unistr.c or ntfs_uppercase_mbs; correlate with local user activity on NTFS mounts.
What your security team should do
- Inventory all systems and containers that include or depend on NTFS-3G and schedule upgrades
- Apply the fix during the next maintenance window given the low EPSS and absence from known exploited lists
- Restrict local user access to removable or network-mounted NTFS volumes where feasible
- Monitor vendor advisories for downstream package updates in distributions
The record
NTFS-3G before 75dcdc2 has a use-after-free in ntfs_uppercase_mbs in libntfs-3g/unistr.c. NOTE: discussion suggests that exploitation would be challenging.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ntfs-3g | 0 | 1:2017.3.23AR.3-4+deb11u4 |
| Debian:12 | ntfs-3g | 0 | No fix |
| Debian:13 | ntfs-3g | 0 | 1:2022.10.3-3 |
| Mageia:9 | ntfs-3g | 0 | 2022.10.3-1.1.mga9 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-150000.3.21.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-150000.3.21.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-5.20.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-5.20.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP5 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-150000.3.21.1 |
| Ubuntu:18.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:20.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:22.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:24.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:24.10 | ntfs-3g | 0 | No fix |
| Ubuntu:25.04 | ntfs-3g | 0 | No fix |
| Ubuntu:25.10 | ntfs-3g | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ntfs-3g | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | ntfs-3g | 0 | No fix |
| openSUSE:Leap 15.5 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-150000.3.21.1 |
| openSUSE:Leap 15.6 | ntfs-3g_ntfsprogs | 0 | 2022.5.17-150000.3.21.1 |
| openSUSE:Tumbleweed | ntfs-3g_ntfsprogs | 0 | 2022.10.3-4.1 |