Bug 2542292 - CVE-2026-100866 rust-onefetch: onefetch: Terminal escape sequence injection via unsanitized manifest fields [fedora-all]
Summary: CVE-2026-100866 rust-onefetch: onefetch: Terminal escape sequence injection v...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-onefetch
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard: {"flaws": ["33e6205e-da98-4248-9aed-2...
: 2542295 2542296 2542297 (view as bug list)
Depends On:
Blocks: CVE-2026-100866
TreeView+ depends on / blocked
 
Reported: 2026-09-28 03:36 UTC by Ganesh
Modified: 2026-10-31 18:46 UTC (History)
2 users (show)

Fixed In Version: rust-onefetch-3.0.0-2.fc46 rust-onefetch-2.28.1-4.fc44 rust-onefetch-2.28.1-4.fc43 rust-onefetch-2.28.1-5.fc45
Clone Of:
Environment:
Last Closed: 2026-10-08 19:13:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github o2sh onefetch issues 1828 0 None open Info field values aren't stripped of terminal escape sequences 2026-09-28 06:28:33 UTC

Description Ganesh 2026-09-28 03:36:25 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:27:50 UTC
*** Bug 2542297 has been marked as a duplicate of this bug. ***

Comment 2 Ben Beasley 2026-09-28 06:27:57 UTC
*** Bug 2542296 has been marked as a duplicate of this bug. ***

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

Comment 4 Ben Beasley 2026-09-28 06:28:33 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 5 Fedora Update System 2026-10-08 19:08:07 UTC
FEDORA-2026-25e13e26b3 (rust-onefetch-2.28.1-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-25e13e26b3

Comment 6 Fedora Update System 2026-10-08 19:08:16 UTC
FEDORA-2026-2770759ef0 (rust-onefetch-2.28.1-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-2770759ef0

Comment 7 Fedora Update System 2026-10-08 19:08:45 UTC
FEDORA-2026-c71291fcdf (rust-onefetch-2.28.1-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c71291fcdf

Comment 8 Fedora Update System 2026-10-08 19:09:55 UTC
FEDORA-2026-85e3705d0b (rust-onefetch-3.0.0-2.fc46, rust-onefetch-ascii-3.0.0-1.fc46, and 2 more) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-85e3705d0b

Comment 9 Fedora Update System 2026-10-08 19:13:11 UTC
FEDORA-2026-85e3705d0b (rust-onefetch-3.0.0-2.fc46, rust-onefetch-ascii-3.0.0-1.fc46, and 2 more) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-10-09 02:55:10 UTC
FEDORA-2026-c71291fcdf has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c71291fcdf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c71291fcdf

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

Comment 11 Fedora Update System 2026-10-16 16:33:49 UTC
FEDORA-2026-2770759ef0 (rust-onefetch-2.28.1-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2026-10-17 01:32:21 UTC
FEDORA-2026-c71291fcdf (rust-onefetch-2.28.1-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2026-10-20 04:31:25 UTC
FEDORA-2026-03b88adb99 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-03b88adb99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-03b88adb99

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

Comment 14 Fedora Update System 2026-10-31 18:46:06 UTC
FEDORA-2026-03b88adb99 (helix-25.07.1-13.fc45, rust-dua-cli-2.38.1-3.fc45, and 4 more) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.