Bug 2542294

Summary: CVE-2026-100866 rust-onefetch: onefetch: Terminal escape sequence injection via unsanitized manifest fields [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Ganesh <gnaik>
Component: rust-onefetchAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: epel10CC: code, rust-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["33e6205e-da98-4248-9aed-208c85404671"]}
Fixed In Version: rust-onefetch-2.28.1-4.el9 rust-onefetch-2.27.1-10.el10_3 rust-onefetch-2.27.1-5.el10_2 rust-onefetch-2.28.1-4.el10_4 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-17 00:41:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2542074    

Description Ganesh 2026-09-28 03:36:35 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

onefetch through 2.28.1 writes repository information field values to the terminal without removing control characters, allowing terminal escape sequence injection. Attackers can embed ANSI/OSC escape sequences in project manifest version and name fields to manipulate terminal output, rewrite window titles, hide text, or trigger emulator-specific behavior when victims run onefetch.

Comment 1 Ben Beasley 2026-09-28 06:28:54 UTC
I am monitoring the upstream bug https://github.com/o2sh/onefetch/issues/1828 and the proposed fix in https://github.com/o2sh/onefetch/pull/1829. I am inclined to allow a little more time for discussion to run its course, and ideally for the fix to be at least merged upstream, before applying a downstream patch.

Since the proposed fix is in the main onefetch crate, corresponding to the rust-onefetch package, I’m closing bugs filed against rust-onefetch-ascii, rust-onefetch-image, and rust-onefetch-manifest.

Comment 2 Ben Beasley 2026-09-28 06:29:14 UTC
*** Bug 2542291 has been marked as a duplicate of this bug. ***

Comment 3 Ben Beasley 2026-09-28 06:29:16 UTC
*** Bug 2542293 has been marked as a duplicate of this bug. ***

Comment 4 Ben Beasley 2026-09-28 06:29:25 UTC
*** Bug 2542290 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2026-10-08 19:09:09 UTC
FEDORA-EPEL-2026-013960599f (rust-onefetch-2.28.1-4.el10_4) has been submitted as an update to Fedora EPEL 10.4.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-013960599f

Comment 6 Fedora Update System 2026-10-08 19:09:27 UTC
FEDORA-EPEL-2026-e54d718960 (rust-onefetch-2.27.1-5.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-e54d718960

Comment 7 Fedora Update System 2026-10-08 19:09:35 UTC
FEDORA-EPEL-2026-f0ef1f4b16 (rust-onefetch-2.28.1-4.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-f0ef1f4b16

Comment 8 Fedora Update System 2026-10-09 02:26:18 UTC
FEDORA-EPEL-2026-f0ef1f4b16 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-f0ef1f4b16

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-10-09 02:32:45 UTC
FEDORA-EPEL-2026-013960599f has been pushed to the Fedora EPEL 10.4 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-013960599f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-10-09 02:37:43 UTC
FEDORA-EPEL-2026-f2037995cd has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-f2037995cd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-10-09 02:39:43 UTC
FEDORA-EPEL-2026-e54d718960 has been pushed to the Fedora EPEL 10.2 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-e54d718960

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-10-17 00:41:17 UTC
FEDORA-EPEL-2026-f0ef1f4b16 (rust-onefetch-2.28.1-4.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2026-10-17 00:56:38 UTC
FEDORA-EPEL-2026-f2037995cd (rust-onefetch-2.27.1-10.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2026-10-17 01:10:09 UTC
FEDORA-EPEL-2026-e54d718960 (rust-onefetch-2.27.1-5.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2026-10-17 01:21:10 UTC
FEDORA-EPEL-2026-013960599f (rust-onefetch-2.28.1-4.el10_4) has been pushed to the Fedora EPEL 10.4 stable repository.
If problem still persists, please make note of it in this bug report.