Critical Security Update for File Package: CVE-2019-18218

file Updated 02 Oct 2025

Summary

16/09/2024
N/A
Yes i
High
7.8

RHSA-2021:4374: Red Hat Security Advisory: file security update. Affects file versions < 0:5.33-20.el8. Fixed in 0:5.33-20.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The 'file' package is a widely used utility in Linux systems that determines the type of a file by examining its content rather than its file extension. It is essential for various applications and system operations, providing critical functionality for file management and processing. This package is part of the Red Hat Enterprise Linux 8 base operating system and is crucial for maintaining system integrity and security.

Vulnerability Detail

The vulnerability identified as CVE-2019-18218 affects the 'file' package, allowing an attacker to exploit a flaw in the way the package processes certain file types. This can lead to potential denial of service or arbitrary code execution, posing significant risks to system security. The vulnerability has a CVSS score of 7.8, indicating a high severity level, which necessitates immediate attention and remediation.

How To Fix

Minimum fixed version

0:5.33-20.el8

This is the first release that contains the fix.

sudo dnf update file

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit access to the affected package or disable its functionality until the update is applied. However, this is not a permanent solution and should be followed by an update as soon as possible.

Conclusion

The CVE-2019-18218 vulnerability in the 'file' package poses significant risks to system security, with a CVSS score of 7.8. It is crucial for users to update to the patched version 0:5.33-20.el8 to mitigate these risks. Temporary workarounds can be employed, but they should not replace the need for a proper update.

See every vulnerability recorded for file →

Share this vulnerability

FAQ

CVE-2019-18218 is a security vulnerability in the 'file' package that could allow attackers to execute arbitrary code or cause a denial of service.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of CVE-2019-18218 is 7.8, indicating a high severity level that requires prompt action.

If an immediate update is not possible, consider limiting access to the affected package as a temporary workaround until the update can be applied.

More information about the 'file' package and its functionalities can be found in the official Red Hat documentation and community forums.

Related vulnerabilities

Recent vulnerabilities recorded for file.

How To Fix

Minimum fixed version

0:5.33-20.el8

This is the first release that contains the fix.

sudo dnf update file

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback