Cloudanix VulnDB

CVE-2021-42196

Medium · 5.5

CVSS

5.5

EPSS

0.7%

Published

Jun 2, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a Flash file handling tool can make the program stop working when it opens certain files, interrupting any tasks that depend on that tool.

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

What it actually does

A NULL pointer dereference in the traits_parse() function in abc.c causes the application to crash when processing a specially crafted input file.

Why it matters to the business

Attackers can crash the application, disrupting any workflows that rely on processing SWF files and potentially causing service interruptions or loss of productivity.

How an attack unfolds

An attacker crafts a malicious SWF file that triggers the NULL pointer dereference in traits_parse() when parsed by swftools, causing the application to crash when a user processes the file locally.

How to fix it

Upgrade swftools to a version released after 20201222 once a fix is available from the project maintainers, or replace the tool with a maintained alternative for SWF processing.

How to confirm the fix worked

Rebuild or reinstall from a patched source, then verify that processing of sample SWF files no longer results in a crash in traits_parse(); inspect abc.c to confirm the dereference has been addressed.

Typical attack path

  1. Craft a malicious SWF file that triggers the NULL pointer dereference in traits_parse()
  2. Deliver the crafted file to the target environment
  3. Induce the victim to open the file using the affected swftools binary
  4. Trigger application crash resulting in denial of service

How to detect it

Review system and application logs for swftools crashes, segmentation faults, or signals originating from abc.c or the traits_parse function when SWF files are processed.

What your security team should do

  • Restrict swftools usage to trusted files only until a fix is released
  • Evaluate and migrate to supported SWF processing libraries or tools
  • Monitor the swftools project repository for upstream patches and apply them promptly

The record

An issue was discovered in swftools through 20201222. A NULL pointer dereference exists in the function traits_parse() 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