CVE-2017-11423
Medium · 5.5CVSS
5.5
EPSS
2.1%
Published
Jul 18, 2017
CISA due date
—
Cloudanix analysis
A bug in file-handling software can make programs stop working when they open certain specially prepared archive files, interrupting normal tasks until the software is updated.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack-based buffer over-read in cabd_read_string during parsing of malformed CAB archives, resulting in immediate process termination without data disclosure or code execution.
Why it matters to the business
Processing of untrusted archive files can trigger abrupt crashes in scanning or extraction tools, causing operational interruptions and requiring restarts until packages are updated.
How an attack unfolds
An attacker prepares a specially crafted CAB file and supplies it to a target system; when the vulnerable library attempts to read a string field from the archive header or data, the over-read occurs and the application terminates.
How to fix it
Upgrade fish to version 2.1.1-1 or later on Debian 10, 11, 12, and 13; rebuild or replace any local copies of libmspack 0.5alpha with a patched release.
How to confirm the fix worked
Verify installed package versions against the fixed releases, then reprocess known-good and boundary-case CAB files to confirm absence of crashes.
Typical attack path
- Craft a CAB archive containing malformed string data
- Deliver the file via email, web download, or shared storage
- Trigger automated or manual processing by affected software
- Observe denial-of-service crash
How to detect it
Inspect application and system logs for segmentation faults or crashes occurring during CAB file parsing; correlate timestamps with file-access events involving .cab extensions.
What your security team should do
- Apply the listed package updates immediately on all Debian systems running fish
- Add CAB file handling to crash-monitoring rules
- Review any custom builds that statically link libmspack
The record
The cabd_read_string function in mspack/cabd.c in libmspack 0.5alpha, as used in ClamAV 0.99.2 and other products, allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted CAB file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.10 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.11 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.11 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.12 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.13 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.3 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.4 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.5 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.6 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.7 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.8 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.8 | libmspack | 0 | 0.5_alpha-r1 |
| Alpine:v3.9 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.9 | libmspack | 0 | 0.5_alpha-r1 |
| Debian:10 | clamav | 0 | 0.99.3~beta1+dfsg-1 |
| Debian:11 | clamav | 0 | 0.99.3~beta1+dfsg-1 |
| Debian:11 | libmspack | 0 | 0.6-1 |
| Debian:12 | clamav | 0 | 0.99.3~beta1+dfsg-1 |
| Debian:12 | libmspack | 0 | 0.6-1 |
| Debian:13 | clamav | 0 | 0.99.3~beta1+dfsg-1 |
| Debian:13 | libmspack | 0 | 0.6-1 |
| Debian:7 | clamav | 0 | 0.99.2+dfsg-0+deb7u5 |
| Debian:8 | libmspack | 0 | 0.5-1+deb8u1 |
| Debian:9 | libmspack | 0 | 0.5-1+deb9u1 |
| Mageia:5 | libmspack | 0 | 0.5-0.1.alpha.1.mga5 |
| Mageia:6 | libmspack | 0 | 0.5-0.2.alpha.1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP2 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | clamav | 0 | 0.99.3-0.20.3.2 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | clamav | 0 | 0.99.3-0.20.3.2 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | clamav | 0 | 0.99.3-0.20.3.2 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 11 SP4 | clamav | 0 | 0.99.3-0.20.3.2 |
| SUSE:Linux Enterprise Server 11 SP4 | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server 12 SP2 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server 12 SP3 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server 12 SP3 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server 12-LTSS | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | clamav | 0 | 0.99.3-0.20.3.2 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | clamav | 0 | 0.99.3-33.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:OpenStack Cloud 6 | clamav | 0 | 0.99.3-33.5.1 |
| Ubuntu:16.04:LTS | libmspack | 0 | 0.5-1ubuntu0.16.04.1 |
| Ubuntu:18.04:LTS | libmspack | 0 | 0.6-3 |
| Ubuntu:Pro:14.04:LTS | libmspack | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | libmspack | 0 | 0.4-1ubuntu0.1~esm2 |
| openSUSE:Tumbleweed | clamav | 0 | 0.103.3-1.4 |
Related vulnerabilities
- CVE-2017-16932 parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter… Also affects clamav
- CVE-2012-6706 A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos… Also affects clamav
- CVE-2023-20197 A vulnerability in the filesystem image parser for Hierarchical File System Plus (HFS+)… Also affects clamav
- CVE-2023-20052 On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was… Also affects clamav
- CVE-2023-20032 On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was… Also affects clamav
- CVE-2015-2305 Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library… Also affects clamav
- CVE-2012-1457 The TAR file parser in Avira AntiVir 7.11.1.163, Antiy Labs AVL SDK 2.0.3.7, avast! Also affects clamav
- CVE-2012-1459 The TAR file parser in AhnLab V3 Internet Security 2011.01.18.00, Avira AntiVir… Also affects clamav