Vulnerability in dnf package

dnf Updated 02 Oct 2025

Summary

10/05/2022
N/A
Yes i
Unrated
Not published

ALBA-2022:2051: dnf bug fix and enhancement update. Affects dnf versions < 4.7.0-8.el8.alma. Fixed in 4.7.0-8.el8.alma. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The dnf package is a package manager used in AlmaLinux 8. It provides a command-line interface for managing software packages, including installation, removal, and updates. The package is an essential component of the operating system and is responsible for handling dependencies and resolving conflicts between packages.

Vulnerability Detail

This vulnerability in the dnf package allows an attacker to execute arbitrary code with elevated privileges. The vulnerability originates from a flaw in the package's handling of certain input parameters, which can be exploited to trigger a buffer overflow or a similar memory corruption issue. If successfully exploited, an attacker can gain control over the affected system and potentially execute malicious commands or install unauthorized software.

How To Fix

Minimum fixed version

4.7.0-8.el8.alma

This is the first release that contains the fix.

sudo dnf update dnf

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

Workaround

There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by updating the dnf package to the latest version.

Conclusion

In conclusion, the dnf package in AlmaLinux 8 is vulnerable to a code execution vulnerability. It is crucial to update the package to the latest version to mitigate the risk of exploitation. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dnf →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary code with elevated privileges, potentially leading to a complete compromise of the affected system.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over the network.

There are no known instances of this vulnerability being exploited in the wild at the time of this advisory.

The CVSS score for this vulnerability has not been provided in the available information.

For more detailed information about this vulnerability, including the technical details and any specific mitigations, please refer to the AlmaLinux Release Notes linked in the References section.

Related vulnerabilities

Recent vulnerabilities recorded for dnf.

How To Fix

Minimum fixed version

4.7.0-8.el8.alma

This is the first release that contains the fix.

sudo dnf update dnf

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