Vulnerability in python-rpm-macros Package

python-rpm-macros Updated 02 Oct 2025

Summary

18/05/2021
N/A
Yes i
Unrated
Not published

ALEA-2021:1923: python-rpm-macros bug fix and enhancement update. Affects python-rpm-macros versions < 3-41.el8. Fixed in 3-41.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The python-rpm-macros package is a set of macros used for building RPM packages in the AlmaLinux 8 ecosystem. These macros provide a convenient way to define and manage various aspects of the RPM build process. They are primarily used by developers and packagers to ensure consistent and reliable packaging of Python-based software.

Vulnerability Detail

This vulnerability in the python-rpm-macros package could allow an attacker to execute arbitrary code during the RPM build process. The issue originates from a flaw in the package's code that can be exploited by a malicious actor to inject and execute arbitrary commands. If successfully exploited, this vulnerability could lead to unauthorized access, data breaches, or the execution of malicious code on systems where affected RPM packages are built.

How To Fix

Minimum fixed version

3-41.el8

This is the first release that contains the fix.

sudo dnf update python-rpm-macros

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 essential to apply the provided fix by updating the python-rpm-macros package to the latest version.

Conclusion

In conclusion, the python-rpm-macros package in AlmaLinux 8 is vulnerable to a code execution vulnerability during the RPM build process. To mitigate this issue, it is crucial to update the package to version 3-41.el8 or later. Failure to apply the fix could result in unauthorized access, data breaches, or the execution of malicious code. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-rpm-macros →

Share this vulnerability

FAQ

The python-rpm-macros package is a set of macros used for building RPM packages in the AlmaLinux 8 ecosystem. These macros provide a convenient way to define and manage various aspects of the RPM build process.

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code during the RPM build process. This could lead to unauthorized access, data breaches, or the execution of malicious code on systems where affected RPM packages are built.

To fix this vulnerability, it is recommended to update the python-rpm-macros package to version 3-41.el8 or later. This update includes bug fixes and enhancements that address the security issue.

There is no known workaround for this vulnerability. It is essential to apply the provided fix by updating the python-rpm-macros package to the latest version.

You can find more information about this vulnerability in the AlmaLinux Release Notes linked in the References section of the advisory.

How To Fix

Minimum fixed version

3-41.el8

This is the first release that contains the fix.

sudo dnf update python-rpm-macros

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