Cloudanix VulnDB

CVE-2021-39575

Medium · 5.5

CVSS

5.5

EPSS

0.6%

Published

Sep 20, 2021

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in an older flash-file tool lets attackers crash the program simply by making it open a specially made file.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

NULL pointer dereference in dump_method() within abc.c crashes the swftools process when parsing a crafted SWF file.

Why it matters to the business

Attackers can cause application crashes that interrupt any workflows or scripts relying on swftools for SWF file handling, leading to operational downtime.

How an attack unfolds

An attacker supplies a malicious SWF file that reaches the vulnerable dump_method function during normal file processing, triggering the dereference and immediate crash.

How to fix it

No fixed versions are published; discontinue use of swftools on untrusted inputs or replace it with an unaffected alternative.

How to confirm the fix worked

Attempt to process known crashing SWF samples with the updated binary and confirm the process no longer terminates unexpectedly.

Typical attack path

  1. Create a specially crafted SWF file that triggers the NULL dereference
  2. Deliver the file to a target system via email, download, or shared storage
  3. Victim opens or processes the file using an affected swftools binary
  4. Application terminates with a segmentation fault or crash

How to detect it

Monitor process logs and crash dumps for segmentation faults or abrupt exits immediately after swftools opens an SWF file.

What your security team should do

  • Block or sandbox untrusted SWF files before any swftools processing
  • Replace swftools with a maintained alternative in all production pipelines
  • Add crash monitoring for swftools binaries in security logging

The record

An issue was discovered in swftools through 20200710. A NULL pointer dereference exists in the function dump_method() located in abc.c. It allows an attacker to cause Denial of Service.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:16.04:LTS swftools 0 No fix
Ubuntu:18.04:LTS swftools 0 No fix
Ubuntu:Pro:16.04:LTS swftools 0 No fix
Ubuntu:Pro:18.04:LTS swftools 0 No fix

Related vulnerabilities