Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestions search

With package: rpm

Found 8 matching suggestions

View:
Compact
Detailed
Published
Permalink CVE-2026-95521
7.8 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 1 day, 8 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    19 packages
    • makerpm
    • rpm2targz
    • rpm-ostree
    • rpmextract
    • rpm-sequoia
    • perlPackages.RPM2
    • perl5Packages.RPM2
    • python313Packages.rpm
    • python314Packages.rpm
    • haskellPackages.rpm-nvr
    • haskellPackages.cabal-rpm
    • python313Packages.rpmfile
    • python314Packages.rpmfile
    • python313Packages.rpmfluff
    • python314Packages.rpmfluff
    • haskellPackages.select-rpms
    • tree-sitter-grammars.tree-sitter-rpmspec
    • python313Packages.tree-sitter-grammars.tree-sitter-rpmspec
    • python314Packages.tree-sitter-grammars.tree-sitter-rpmspec
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm

A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.

References

Affected products

rpm

Matching in nixpkgs

pkgs.rpm

RPM package manager

  • nixos-unstable -
  • nixos-26.05 -
Ignored packages (19)

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable -
    • nixos-unstable-small 1.0
  • nixos-26.05 -
    • nixos-26.05-small 1.0

pkgs.rpm2targz

Convert a .rpm file to a .tar.gz archive

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

  • nixos-unstable -
  • nixos-26.05 -

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
  • nixos-26.05 -
    • nixos-26.05-small

pkgs.rpm-sequoia

OpenPGP backend for rpm using Sequoia PGP

  • nixos-unstable -
  • nixos-26.05 -

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4
Published
Permalink CVE-2026-95519
7.8 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 1 day, 8 hours ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    19 packages
    • makerpm
    • rpm2targz
    • rpm-ostree
    • rpmextract
    • rpm-sequoia
    • perlPackages.RPM2
    • perl5Packages.RPM2
    • python313Packages.rpm
    • python314Packages.rpm
    • haskellPackages.rpm-nvr
    • haskellPackages.cabal-rpm
    • python313Packages.rpmfile
    • python314Packages.rpmfile
    • python313Packages.rpmfluff
    • python314Packages.rpmfluff
    • haskellPackages.select-rpms
    • tree-sitter-grammars.tree-sitter-rpmspec
    • python313Packages.tree-sitter-grammars.tree-sitter-rpmspec
    • python314Packages.tree-sitter-grammars.tree-sitter-rpmspec
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Rpm: code execution via macro expansion of manifest entries in `rpmgi` (`-q -p` / verify manifest flows)

A flaw was found in rpm. An attacker can supply a crafted manifest file that, when processed by a user or automation using `rpm -q -p` or similar manifest-processing flows, leads to arbitrary code execution. This occurs because manifest entries are unexpectedly macro-expanded before being opened, allowing embedded shell commands to run with the privileges of the `rpm` process. Successful exploitation can lead to a full compromise of confidentiality, integrity, and availability for the affected account.

References

Affected products

rpm

Matching in nixpkgs

pkgs.rpm

RPM package manager

  • nixos-unstable -
  • nixos-26.05 -
Ignored packages (19)

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable -
    • nixos-unstable-small 1.0
  • nixos-26.05 -
    • nixos-26.05-small 1.0

pkgs.rpm2targz

Convert a .rpm file to a .tar.gz archive

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

  • nixos-unstable -
  • nixos-26.05 -

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
  • nixos-26.05 -
    • nixos-26.05-small

pkgs.rpm-sequoia

OpenPGP backend for rpm using Sequoia PGP

  • nixos-unstable -
  • nixos-26.05 -

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4
Published
Permalink CVE-2026-84837
7.8 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 3 weeks, 2 days ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    19 packages
    • makerpm
    • rpm2targz
    • rpm-ostree
    • rpmextract
    • rpm-sequoia
    • perlPackages.RPM2
    • perl5Packages.RPM2
    • python313Packages.rpm
    • python314Packages.rpm
    • haskellPackages.rpm-nvr
    • haskellPackages.cabal-rpm
    • python313Packages.rpmfile
    • python314Packages.rpmfile
    • python313Packages.rpmfluff
    • python314Packages.rpmfluff
    • haskellPackages.select-rpms
    • tree-sitter-grammars.tree-sitter-rpmspec
    • python313Packages.tree-sitter-grammars.tree-sitter-rpmspec
    • python314Packages.tree-sitter-grammars.tree-sitter-rpmspec
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Rpm: command injection in `rpmbuild -t*` (`gettarspec`) via unescaped tarball path

A flaw was found in rpm. An attacker can exploit a command injection vulnerability by influencing the path or filename of a tarball processed by `rpmbuild -t*` to include shell metacharacters. This is particularly relevant in automated build or continuous integration (CI) workflows that ingest externally supplied artifact names. Successful exploitation allows for arbitrary command execution with the privileges of the build user, which could lead to information disclosure or disruption of the build environment.

References

Affected products

rpm

Matching in nixpkgs

Ignored packages (19)

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable 1.0
    • nixpkgs-unstable 1.0
    • nixos-unstable-small 1.0
  • nixos-26.05 1.0
    • nixos-26.05-small 1.0
    • nixpkgs-26.05-darwin 1.0

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
    • nixpkgs-unstable
    • nixos-unstable-small 4.20.1
  • nixos-26.05 -
    • nixos-26.05-small
    • nixpkgs-26.05-darwin

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable 1.4
    • nixpkgs-unstable 1.4
    • nixos-unstable-small 1.4
  • nixos-26.05 1.4
    • nixos-26.05-small 1.4
    • nixpkgs-26.05-darwin 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable 1.4
    • nixpkgs-unstable 1.4
    • nixos-unstable-small 1.4
  • nixos-26.05 1.4
    • nixos-26.05-small 1.4
    • nixpkgs-26.05-darwin 1.4
Untriaged
Permalink CVE-2026-84838
7.8 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 3 weeks, 2 days ago by @mweinelt Activity log
  • Created suggestion
  • @mweinelt ignored
    19 packages
    • makerpm
    • rpm2targz
    • rpm-ostree
    • rpmextract
    • rpm-sequoia
    • perlPackages.RPM2
    • perl5Packages.RPM2
    • python313Packages.rpm
    • python314Packages.rpm
    • haskellPackages.rpm-nvr
    • haskellPackages.cabal-rpm
    • python313Packages.rpmfile
    • python314Packages.rpmfile
    • python313Packages.rpmfluff
    • python314Packages.rpmfluff
    • haskellPackages.select-rpms
    • tree-sitter-grammars.tree-sitter-rpmspec
    • python313Packages.tree-sitter-grammars.tree-sitter-rpmspec
    • python314Packages.tree-sitter-grammars.tree-sitter-rpmspec
Rpm: command injection in rpmuncompress via unescaped filenames passed to popen()

A flaw was found in rpmuncompress. This command injection vulnerability allows a local attacker to execute arbitrary commands. This occurs when rpmuncompress processes a specially crafted archive filename containing shell metacharacters, which are not properly escaped before being passed to shell command strings. Successful exploitation requires user interaction, where a user or automated workflow invokes rpmuncompress on the malicious file, leading to high impact on the confidentiality, integrity, and availability of data accessible to the invoking user.

References

Affected products

rpm

Matching in nixpkgs

pkgs.rpm

RPM package manager

  • nixos-unstable -
  • nixos-26.05 -
Ignored packages (19)

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable -
    • nixos-unstable-small 1.0
  • nixos-26.05 -
    • nixos-26.05-small 1.0

pkgs.rpm2targz

Convert a .rpm file to a .tar.gz archive

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

  • nixos-unstable -
  • nixos-26.05 -

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
  • nixos-26.05 -
    • nixos-26.05-small

pkgs.rpm-sequoia

OpenPGP backend for rpm using Sequoia PGP

  • nixos-unstable -
  • nixos-26.05 -

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4
Untriaged
Permalink CVE-2026-84233
7.0 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
created 3 weeks, 3 days ago Activity log
  • Created suggestion
Rpm: command execution via macro expansion in `rpmuncompress -x` for crafted `.gem` filenames

A flaw was found in rpm. A local attacker could supply a specially crafted `.gem` filename containing RPM macro syntax. When a user or automated workflow invokes `rpmuncompress -x` on this file, the macro expansion occurs during command construction. This allows the attacker to execute arbitrary commands with the privileges of the invoking account, leading to a compromise of confidentiality, integrity, and availability.

References

Affected products

rpm

Matching in nixpkgs

pkgs.rpm

RPM package manager

  • nixos-unstable -
  • nixos-26.05 -

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable -
    • nixos-unstable-small 1.0
  • nixos-26.05 -
    • nixos-26.05-small 1.0

pkgs.rpm2targz

Convert a .rpm file to a .tar.gz archive

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

  • nixos-unstable -
  • nixos-26.05 -

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
  • nixos-26.05 -
    • nixos-26.05-small

pkgs.rpm-sequoia

OpenPGP backend for rpm using Sequoia PGP

  • nixos-unstable -
  • nixos-26.05 -

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

Package maintainers

Untriaged
Permalink CVE-2026-78367
7.0 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
created 1 month ago Activity log
  • Created suggestion
Rpm: rpmbuild gettarspec() crafted tar member name → macro injection

A vulnerability was found in RPM's rpmbuild tarball processing. When processing a crafted source archive, the getTarSpec() function in tools/rpmbuild.cc passes an attacker-controlled tar archive member name to rpmExpand() as part of a %{basename:...} macro expression. A specially crafted .spec member name can therefore inject RPM macros, including Lua expressions, resulting in arbitrary code execution with the privileges of the user running rpmbuild. This can be exploited when a victim or automated build system processes an attacker-controlled source tarball using rpmbuild tarball mode (such as -ts, -ta, or -tb).

References

Affected products

rpm
openshift/ose-rhel-coreos-8
openshift/ose-rhel-coreos-9

Matching in nixpkgs

pkgs.rpm

RPM package manager

  • nixos-unstable -
  • nixos-26.05 -

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable -
    • nixos-unstable-small 1.0
  • nixos-26.05 -
    • nixos-26.05-small 1.0

pkgs.rpm2targz

Convert a .rpm file to a .tar.gz archive

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

  • nixos-unstable -
  • nixos-26.05 -

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
  • nixos-26.05 -
    • nixos-26.05-small

pkgs.rpm-sequoia

OpenPGP backend for rpm using Sequoia PGP

  • nixos-unstable -
  • nixos-26.05 -

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable -
    • nixos-unstable-small 1.4
  • nixos-26.05 -
    • nixos-26.05-small 1.4

Package maintainers

Published
Permalink CVE-2026-44605
5.5 MEDIUM
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): None (N)
  • Integrity (I): None (N)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): None (N)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): None (N)
  • Modified Availability (MA): High (H)
updated 1 month, 2 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    16 packages
    • makerpm
    • rpm2targz
    • rpm-ostree
    • rpmextract
    • rpm-sequoia
    • perlPackages.RPM2
    • perl5Packages.RPM2
    • python313Packages.rpm
    • python314Packages.rpm
    • haskellPackages.rpm-nvr
    • haskellPackages.cabal-rpm
    • python313Packages.rpmfile
    • python314Packages.rpmfile
    • python313Packages.rpmfluff
    • python314Packages.rpmfluff
    • haskellPackages.select-rpms
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Rpm: heap buffer overflow in ndb slot table parsing

A flaw was found in the RPM Package Manager (RPM). A local user could be affected by a heap buffer overflow vulnerability when processing a specially crafted NDB database file. This issue arises from an error in how RPM handles certain calculations during file parsing, leading to an incorrect memory allocation. An attacker could leverage this to cause a denial of service, making the system unavailable.

References

Affected products

rpm
rpm-main
  • *
rust-bootupd

Matching in nixpkgs

Ignored packages (16)

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable 1.0
    • nixpkgs-unstable 1.0
    • nixos-unstable-small 1.0
  • nixos-26.05 1.0
    • nixos-26.05-small 1.0
    • nixpkgs-26.05-darwin 1.0

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
    • nixpkgs-unstable
    • nixos-unstable-small
  • nixos-26.05 -
    • nixos-26.05-small
    • nixpkgs-26.05-darwin

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable 1.4
    • nixpkgs-unstable 1.4
    • nixos-unstable-small 1.4
  • nixos-26.05 1.4
    • nixos-26.05-small 1.4
    • nixpkgs-26.05-darwin 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable 1.4
    • nixpkgs-unstable 1.4
    • nixos-unstable-small 1.4
  • nixos-26.05 1.4
    • nixos-26.05-small 1.4
    • nixpkgs-26.05-darwin 1.4
Published
Permalink CVE-2026-44604
7.0 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 3 months, 3 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    21 packages
    • makerpm
    • rpm2targz
    • rpm-ostree
    • rpmextract
    • rpm-sequoia
    • perlPackages.RPM2
    • perl5Packages.RPM2
    • perl538Packages.RPM2
    • perl540Packages.RPM2
    • python312Packages.rpm
    • python313Packages.rpm
    • python314Packages.rpm
    • haskellPackages.rpm-nvr
    • haskellPackages.cabal-rpm
    • python312Packages.rpmfile
    • python313Packages.rpmfile
    • python314Packages.rpmfile
    • python312Packages.rpmfluff
    • haskellPackages.select-rpms
    • python314Packages.rpmfluff
    • python313Packages.rpmfluff
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Rpm: command injection in rpmuncompress dountar() via unescaped archive top-level directory name in popen() shell command

A command injection vulnerability was discovered in the `rpmuncompress` utility of RPM. When extracting certain archive formats (ZIP, 7z, GEM) to a specified destination directory, the tool inserts the archive's top-level folder name into a shell command without properly sanitizing it. A specially crafted archive containing shell metacharacters in its folder name can execute arbitrary commands as the user running the extraction.

References

Affected products

rpm
rhcos
rust-bootupd
satellite/iop-puptoo-rhel9
satellite/iop-yuptoo-rhel9
pen-drive/pen-drive-scanner-rhel9
satellite/iop-insights-engine-rhel9

Matching in nixpkgs

Ignored packages (21)

pkgs.makerpm

Clean, simple RPM packager reimplemented completely from scratch

  • nixos-unstable 1.0
    • nixpkgs-unstable 1.0
    • nixos-unstable-small 1.0

pkgs.rpm-ostree

Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model

pkgs.rpmextract

Script to extract RPM archives

  • nixos-unstable -
    • nixpkgs-unstable
    • nixos-unstable-small

pkgs.perlPackages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable 1.4
    • nixpkgs-unstable 1.4
    • nixos-unstable-small 1.4

pkgs.perl5Packages.RPM2

Perl bindings for the RPM Package Manager API

  • nixos-unstable 1.4
    • nixpkgs-unstable 1.4
    • nixos-unstable-small 1.4