CVE-2026-78367 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).
영향 받는 제품 제품 6개
-
해결 버전 있음
Red Hat
Red Hat Enterprise Linux 10
해결 버전
- 0:4.19.1.1-29.el10_3 이상
-
해결 버전 있음
Red Hat
Red Hat Enterprise Linux 10.2 Extended Update Support
해결 버전
- 0:4.19.1.1-23.el10_2.3 이상
-
해결 버전 있음
Red Hat
Red Hat Enterprise Linux 8
해결 버전
- 0:4.14.3-34.el8_10 이상
-
해결 버전 있음
Red Hat
Red Hat Enterprise Linux 9
해결 버전
- 0:4.16.1.3-43.el9_9 이상
-
해결 버전 있음
Red Hat
Red Hat Enterprise Linux 9.8 Extended Update Support
해결 버전
- 0:4.16.1.3-40.el9_8.3 이상
-
해결 버전 있음
Red Hat
Red Hat Hardened Images
해결 버전
- 6.1.0-1.3.hum1 이상
참고 자료 9건
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:100637 (새 창)
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:100638 (새 창)
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:100643 (새 창)
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82378 (새 창)
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:99593 (새 창)
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:99595 (새 창)
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-78367 (새 창)
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2521857 (새 창)
- github.com https://github.com/rpm-software-management/rpm/issues/4314 (새 창)