Nixpkgs security tracker

Login with GitHub

Suggestions search

With package: rpm-ostree

Found 1 matching suggestions

View:
Compact
Detailed
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 week 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.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

Package maintainers